linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS: module: Fixup error path & refactor
@ 2017-03-30 18:37 Paul Burton
  2017-03-30 18:37 ` Paul Burton
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul Burton @ 2017-03-30 18:37 UTC (permalink / raw)
  To: linux-mips, Ralf Baechle; +Cc: Paul Burton

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-30 18:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-30 18:37 [PATCH 0/2] MIPS: module: Fixup error path & refactor Paul Burton
2017-03-30 18:37 ` Paul Burton
2017-03-30 18:37 ` [PATCH 1/2] MIPS: module: Ensure we always clean up r_mips_hi16_list Paul Burton
2017-03-30 18:37   ` Paul Burton
2017-03-30 18:37 ` [PATCH 2/2] MIPS: module: Unify rel & rela reloc handling Paul Burton
2017-03-30 18:37   ` Paul Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).