Thread (3 messages) 3 messages, 1 author, 2017-03-30
STALE3404d

[PATCH 0/2] MIPS: module: Fixup error path & refactor

From: Paul Burton <hidden>
Date: 2017-03-30 18:38:25

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help