From: Matt Fleming <matt@console-pimps.org>
To: Mark Salter <msalter@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org,
Matt Fleming <matt.fleming@intel.com>,
x86@kernel.org, leif.lindholm@linaro.org,
Roy Franz <roy.franz@linaro.org>
Subject: Re: [PATCH] x86: efi: create memory map iteration helper
Date: Mon, 13 Jan 2014 14:40:30 +0000 [thread overview]
Message-ID: <20140113144030.GD3256@console-pimps.org> (raw)
In-Reply-To: <1389210653-15271-1-git-send-email-msalter@redhat.com>
On Wed, 08 Jan, at 02:50:53PM, Mark Salter wrote:
> There are about a dozen places in the x86 EFI code which loop through
> the EFI memory map descriptors. All of these places use essentially
> the same for-loop code. This patch adds a for_each_efi_memory_desc()
> helper to clean up all of the duplicate code and make it available
> for other architectures to use.
>
> Signed-off-by: Mark Salter <msalter@redhat.com>
> ---
> arch/x86/platform/efi/efi.c | 48 +++++++++++++-----------------------------
> arch/x86/platform/efi/efi_64.c | 5 +----
> drivers/firmware/efi/efi.c | 5 ++---
> include/linux/efi.h | 6 ++++++
> 4 files changed, 24 insertions(+), 40 deletions(-)
Thanks Mark, I like this. Applied.
--
Matt Fleming, Intel Open Source Technology Center
prev parent reply other threads:[~2014-01-13 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-08 19:50 [PATCH] x86: efi: create memory map iteration helper Mark Salter
2014-01-13 14:40 ` Matt Fleming [this message]
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=20140113144030.GD3256@console-pimps.org \
--to=matt@console-pimps.org \
--cc=leif.lindholm@linaro.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=msalter@redhat.com \
--cc=roy.franz@linaro.org \
--cc=x86@kernel.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