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

2013-11-05 Thread Jonas Bonn
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

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

2013-11-05 Thread Jonas Bonn
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

[PATCH] openrisc: Refactor 16-bit constant relocation

2013-10-25 Thread Geert Uytterhoeven
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

[PATCH] openrisc: Refactor 16-bit constant relocation

2013-10-25 Thread Geert Uytterhoeven
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