]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: Refactor 16-bit constant relocation
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 25 Oct 2013 14:37:56 +0000 (16:37 +0200)
committerJonas Bonn <jonas@southpole.se>
Tue, 5 Nov 2013 15:27:55 +0000 (16:27 +0100)
commit2a4778fa4cb4d23bea8289102a4762701be89cd0
tree912a80846e7751141857151c5a2b0f85f7f17636
parent8cdbf90440bf77d448084fceba40d3c4749ad087
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>
arch/openrisc/kernel/module.c