Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1733463 > unrolled thread

Re: [Part1 PATCH v4 08/17] resource: Consolidate resource walking code

Started byBorislav Petkov <bp@suse.de>
First post2017-09-17 16:10 +0200
Last post2017-09-17 16:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Part1 PATCH v4 08/17] resource: Consolidate resource walking  code Borislav Petkov <bp@suse.de> - 2017-09-17 16:10 +0200

#1733463 — Re: [Part1 PATCH v4 08/17] resource: Consolidate resource walking code

FromBorislav Petkov <bp@suse.de>
Date2017-09-17 16:10 +0200
SubjectRe: [Part1 PATCH v4 08/17] resource: Consolidate resource walking code
Message-ID<uqIqL-vo-41@gated-at.bofh.it>
On Sat, Sep 16, 2017 at 07:34:09AM -0500, Brijesh Singh wrote:
> From: Tom Lendacky <thomas.lendacky@amd.com>
> 
> The walk_iomem_res_desc(), walk_system_ram_res() and walk_system_ram_range()
> functions each have much of the same code.  Create a new function that
> consolidates the common code from these functions in one place to reduce
> the amount of duplicated code.
> 
> Cc: Borislav Petkov <bp@suse.de>
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
> ---
>  kernel/resource.c | 52 +++++++++++++++++++++++++---------------------------
>  1 file changed, 25 insertions(+), 27 deletions(-)

Reviewed-by: Borislav Petkov <bp@suse.de>

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web