From: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: outreachy-kernel@googlegroups.com, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: hal: Remove camelcase
Date: Tue, 13 Apr 2021 11:12:22 +0200 [thread overview]
Message-ID: <4613100.Flf31UX1ZZ@linux.local> (raw)
In-Reply-To: <YHVKwEX8CvV7brRg@kroah.com>
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
next prev parent reply other threads:[~2021-04-13 9:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-12 21:02 [Outreachy kernel] [PATCH] staging: rtl8723bs: hal: Remove camelcase Fabio M. De Francesco
2021-04-12 21:05 ` Julia Lawall
2021-04-12 21:13 ` Matthew Wilcox
2021-04-13 7:39 ` Greg Kroah-Hartman
2021-04-13 9:12 ` Fabio M. De Francesco [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-07 16:30 Fabio M. De Francesco
2021-04-07 17:27 ` Greg KH
2021-04-07 17:51 ` Fabio M. De Francesco
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=4613100.Flf31UX1ZZ@linux.local \
--to=fmdefrancesco@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=outreachy-kernel@googlegroups.com \
/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;
as well as URLs for NNTP newsgroup(s).