[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4613100.Flf31UX1ZZ@linux.local>
Date: Tue, 13 Apr 2021 11:12:22 +0200
From: "Fabio M. De Francesco" <fmdefrancesco@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: outreachy-kernel@...glegroups.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: hal: Remove camelcase
On Tuesday, April 13, 2021 9:39:44 AM CEST Greg Kroah-Hartman wrote:
> On Mon, Apr 12, 2021 at 11:02:58PM +0200, Fabio M. De Francesco wrote:
> > Removed camelcase in (some) symbols. Further work is needed.
>
> What symbols did you do this for? What did you change them from and to?>
>
> Be specific, and try to do only one structure at a time at the most,
> trying to review 1000 lines of changes at once is hard, would you want
> to do that? :)
>
For sure, if I were you, I wouldn't be reviewing one thousand lines of code
at once :)
OK, let's work on one item at a time
I'd place each change in a patch of a series:
a) one global variable -> one patch with subject containing the name of the
symbol (beware that if not 1000 lines you'll have to review 200 lines or
more because that file is huge and its globals are used hundreds of times);
b) one or more local variables -> one single patch containing the name of
the function where they are used;
In the while, I'll remove also the trailing "p_" that stand for "pointer"
(as Julia suggested).
The above seems reasonable to me. Doesn't it?
Regarding what Matthew wrote about making use of
drivers/net/wireless/realtek/rtlwifi/btcoexist/ I cannot work on it (too
much time commitment would be needed, I suppose), but, if someone else
can, I won't do the above-mentioned tasks because they would be useless.
Said that, I'm not sure if removing camelcase in this file should be done
at all.
Thanks,
Fabio
>
> thanks,
>
> greg k-h
Powered by blists - more mailing lists