[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <34a71336-e0fd-4b37-b415-d22e3131f001@amd.com>
Date: Thu, 18 Jul 2024 10:54:35 -0400
From: Stewart Hildebrand <stewart.hildebrand@....com>
To: Philipp Stanner <pstanner@...hat.com>, Bjorn Helgaas
<bhelgaas@...gle.com>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar
<mingo@...hat.com>, Borislav Petkov <bp@...en8.de>, Dave Hansen
<dave.hansen@...ux.intel.com>, "H. Peter Anvin" <hpa@...or.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
CC: <x86@...nel.org>, <linux-pci@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/8] x86/PCI: Move some logic to new function
On 7/17/24 15:28, Philipp Stanner wrote:
> On Tue, 2024-07-16 at 15:32 -0400, Stewart Hildebrand wrote:
>> ... to reduce indentation level. Take the opportunity to remove
>> redundant info from debug print string.
>
> Is that intended to be the final commit message or is it still a draft?
>
> I'd call the commit "x86/PCI: Improve code readability" (or sth like
> that) since that is what the commit is about. It's not so much about
> the code move per se.
>
> and have a short message such as:
>
> "
> The indentation in pcibios_allocate_dev_resources() is unusally deep.
>
> Improve that by moving some of its code to the new function
> alloc_resource().
>
> As we're at it, remove redundant information from dev_dbg().
> "
>
>
> Regards,
> P.
Thanks for the suggestion. I'll rework it.
Powered by blists - more mailing lists