This short series fixes a memory leak in the error path of
apply_relocate(), and refactors the REL & RELA style reloc handling to
allow for the sharing of code between the two & the removal of a fair
amount of duplication.
Applies atop v4.11-rc4.
Paul Burton (2):
MIPS: module: Ensure we always clean up r_mips_hi16_list
MIPS: module: Unify rel & rela reloc handling
arch/mips/include/asm/module.h | 8 +-
arch/mips/kernel/Makefile | 1 -
arch/mips/kernel/module-rela.c | 202 -------------------------------------
arch/mips/kernel/module.c | 221 ++++++++++++++++++++++++++++++-----------
4 files changed, 169 insertions(+), 263 deletions(-)
delete mode 100644 arch/mips/kernel/module-rela.c
--
2.12.1