Skip to content
Commit 56aea88d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jonas Bonn
Browse files

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
parent f69405ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment