Re: [PATCH] openrisc: Refactor 16-bit constant relocation

From: Jonas Bonn
Date: Tue Nov 05 2013 - 10:36:25 EST


On 10/25/2013 04:37 PM, Geert Uytterhoeven wrote:
arch/openrisc/kernel/module.c: In function 'apply_relocate_add':
arch/openrisc/kernel/module.c:50:13: warning: assignment from incompatible pointer type
arch/openrisc/kernel/module.c:54:13: warning: assignment from incompatible pointer type

Move the pointer increments to the dereference statements to avoid
incompatible pointer assignments, and remove superfluous casts.

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Thanks, Geert. Will apply.

/Jonas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/