Commit graph android_kernel_sony_sdm845/arch/openrisc/kernel/module.c
Message SHA1
openrisc: Refactor 16-bit constant relocation
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@linux-m68k.org>
Signed-off-by: Jonas Bonn <jonas@southpole.se>

Geert Uytterhoeven   authored and   Jonas Bonn   commited 2013-11-05 16:27:55 +01:00
56aea88df7
OpenRISC: Module support
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>

Jonas Bonn   commited 2011-07-22 18:46:37 +02:00
5a2bbb8f64