]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Module: Deal with malformed HI16/LO16 relocation sequences.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 13 Aug 2012 22:34:18 +0000 (00:34 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 14 Aug 2012 10:11:19 +0000 (12:11 +0200)
commitc409af7e481447797db4348eb6ff7171753e51f7
tree2f913890c92cce8209358d850563c3eab5037baf
parent12b856904b94c01dbafe526a7b1a368bdc83231e
MIPS: Module: Deal with malformed HI16/LO16 relocation sequences.

In case a series of R_MIPS_HI16 relocations was not followed by an
R_MIPS_LO16 relocation we were leaking the hi16 relocation chain.
Handle that error and return an error.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/module.c