linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Burton <paul.burton@imgtec.com>
To: <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Subject: [PATCH 0/2] MIPS: module: Fixup error path & refactor
Date: Thu, 30 Mar 2017 11:37:43 -0700	[thread overview]
Message-ID: <20170330183746.25339-1-paul.burton@imgtec.com> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: Paul Burton <paul.burton@imgtec.com>
To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Subject: [PATCH 0/2] MIPS: module: Fixup error path & refactor
Date: Thu, 30 Mar 2017 11:37:43 -0700	[thread overview]
Message-ID: <20170330183746.25339-1-paul.burton@imgtec.com> (raw)
Message-ID: <20170330183743.jM0af6SPLg6gEPqHcOQy3CzBdK5OfHO3SJvCPCJTfVU@z> (raw)

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

             reply	other threads:[~2017-03-30 18:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-30 18:37 Paul Burton [this message]
2017-03-30 18:37 ` [PATCH 0/2] MIPS: module: Fixup error path & refactor 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170330183746.25339-1-paul.burton@imgtec.com \
    --to=paul.burton@imgtec.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).