[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<DM6PR12MB553462599AA57044F6E41DF4C7C12@DM6PR12MB5534.namprd12.prod.outlook.com>
Date: Thu, 13 Jun 2024 15:06:38 +0000
From: David Thompson <davthompson@...dia.com>
To: Borislav Petkov <bp@...en8.de>
CC: "tony.luck@...el.com" <tony.luck@...el.com>, "james.morse@....com"
<james.morse@....com>, "mchehab@...nel.org" <mchehab@...nel.org>,
"rric@...nel.org" <rric@...nel.org>, Shravan Ramani <shravankr@...dia.com>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v1 1/2] EDAC/bluefield: fix white space in
bluefield_edac_mc_probe
> -----Original Message-----
> From: Borislav Petkov <bp@...en8.de>
> Sent: Wednesday, June 12, 2024 4:01 PM
> To: David Thompson <davthompson@...dia.com>
> Cc: tony.luck@...el.com; james.morse@....com; mchehab@...nel.org;
> rric@...nel.org; Shravan Ramani <shravankr@...dia.com>; linux-
> edac@...r.kernel.org; linux-kernel@...r.kernel.org
> Subject: Re: [PATCH v1 1/2] EDAC/bluefield: fix white space in
> bluefield_edac_mc_probe
>
> On Wed, Jun 12, 2024 at 03:38:30PM -0400, David Thompson wrote:
> > This patch removes an empty line in bluefield_edac_mc_probe().
>
> Avoid having "This patch" or "This commit" in the commit message. It is
> tautologically useless.
>
> Also, do
>
> $ git grep 'This patch' Documentation/process
>
> for more details.
>
I did review this section of the kernel documentation and then
went on to create a v2 with the updated commit message.
I apologize but I didn't notice your comment below about
your preference to not have this type of patch at all. I have been
told in the past to have separate patches for style cleanups, and
not to bundle them with features. But I can do as you recommend
for next version. I will squash the two style fixes into a patch that
contains some new functionality for the BlueField EDAC driver.
> Also, feel free to peruse that whole directory.
>
> > Signed-off-by: David Thompson <davthompson@...dia.com>
> > Reviewed-by: Shravan Kumar Ramani <shravankr@...dia.com>
> > ---
> > drivers/edac/bluefield_edac.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/edac/bluefield_edac.c
> > b/drivers/edac/bluefield_edac.c index 5b3164560648..1f6f39a7dbf3
> > 100644
> > --- a/drivers/edac/bluefield_edac.c
> > +++ b/drivers/edac/bluefield_edac.c
> > @@ -320,7 +320,6 @@ static int bluefield_edac_mc_probe(struct
> platform_device *pdev)
> > edac_mc_free(mci);
> >
> > return ret;
> > -
> > }
> >
> > static void bluefield_edac_mc_remove(struct platform_device *pdev)
> > --
>
> So just the effort to create a whole patch just for that is an overkill.
>
> Please do not do that. If you notice very minor style issues like that, you can do
> them when touching this code as part of a change with more substance. Or you
> can simply ignore such minor issues.
>
> Whitespace cleanup like that gets in the way of real work and pretty much all
> maintainers are overworked already.
>
> So I'd appreciate it if you concentrate on real fixes and improvements.
>
> Thx.
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists