avr32: fix relocation check for signed 18-bit offset
authorHans-Christian Egtvedt <egtvedt@samfundet.no>
Mon, 13 May 2013 20:22:10 +0000 (22:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:49:10 +0000 (12:49 -0700)
commit0690035949b0bed0ccda0b6dfb12eed942a3ff7c
tree3b04251bed5e5c90ff907bc1b74bd480945bbf85
parent6cbe92c7c20204a1f8676fb6a05432a133d58ef2
avr32: fix relocation check for signed 18-bit offset

commit e68c636d88db3fda74e664ecb1a213ae0d50a7d8 upstream.

Caught by static code analysis by David.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/avr32/kernel/module.c