Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables
From: Greg KH
Date: Mon Jun 10 2019 - 03:29:47 EST
On Mon, Jun 10, 2019 at 12:44:05PM +0530, Nishka Dasgupta wrote:
> On 10/06/19 11:19 AM, Greg KH wrote:
> > On Mon, Jun 10, 2019 at 10:08:21AM +0530, Nishka Dasgupta wrote:
> > > On 09/06/19 4:32 PM, Greg KH wrote:
> > > > On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote:
> > > > > Remove variables that are declared and assigned values but not otherwise
> > > > > used.
> > > > > Issue found with Coccinelle.
> > > > >
> > > > > Signed-off-by: Nishka Dasgupta <nishkadg.linux@xxxxxxxxx>
> > > > > ---
> > > > > drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 9 ---------
> > > > > 1 file changed, 9 deletions(-)
> > > >
> > > > You sent me 8 patches for this driver, yet only 2 were ordered in a
> > > > series. I have no idea what order to apply these in :(
> > > >
> > > > Please resend them _all_ in a numbered patch series so I have a chance
> > > > to get this correct.
> > >
> > > Yes, I can do that. Who do I send the patch series to in that case? The
> > > maintainers list is slightly different for each file, and most of the
> > > patches in this driver are for different and unrelated files (except, I
> > > think, the two that I did send as a patch series). Do I combine the
> > > maintainers lists and send the entire patch series to everyone listed as a
> > > maintainer for any one of the patches in it?
> > The maintainer and mailing list is the same for all of the files in a
> > single driver. If not, then something is wrong.
> I'm using get_maintainers.pl with no arguments, and for rtl8723bs, I am
> getting a lot of different mailing lists.
> For core/rtw_ieee80211.c, I'm getting the following list:
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Michael Straube <straube.linux@xxxxxxxxx>
> Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Hardik Singh Rathore <hardiksingh.k@xxxxxxxxx>
> Payal Kshirsagar <payal.s.kshirsagar.98@xxxxxxxxx>
> Nishka Dasgupta <nishkadg.linux@xxxxxxxxx>
> devel@xxxxxxxxxxxxxxxxxxxx (open list:STAGING SUBSYSTEM)
> linux-kernel@xxxxxxxxxxxxxxx (open list)
> Which is not the same as for core/rtw_mlme_ext.c (the current patch).
> > And yes, you can combine the list of people if you wish but be sure you
> > are not just randomly including people who happened to touch the driver
> > "last".
> Okay, I'll combine then. But is there any metric I should be using to filter
> the output of get_maintainer.pl? Currently I'm running it with no arguments
> and just adding everyone.
Look at the "role" that each person has. Here is the output of
get_maintainer.pl when I run it on the first file above:
$ ./scripts/get_maintainer.pl --file drivers/staging/rtl8723bs/core/rtw_ieee80211.c
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> (supporter:STAGING SUBSYSTEM,commit_signer:16/16=100%)
Michael Straube <straube.linux@xxxxxxxxx> (commit_signer:14/16=88%,authored:14/16=88%,added_lines:43/59=73%,removed_lines:114/130=88%)
Payal Kshirsagar <payal.s.kshirsagar.98@xxxxxxxxx> (commit_signer:1/16=6%,authored:1/16=6%,added_lines:3/59=5%)
Hardik Singh Rathore <hardiksingh.k@xxxxxxxxx> (commit_signer:1/16=6%,authored:1/16=6%,added_lines:13/59=22%,removed_lines:13/130=10%)
Andy Shevchenko <andy.shevchenko@xxxxxxxxx> (commit_signer:1/16=6%)
devel@xxxxxxxxxxxxxxxxxxxx (open list:STAGING SUBSYSTEM)
linux-kernel@xxxxxxxxxxxxxxx (open list)
That shows that "Greg Kroah-Hartman" is a reviewer for this subsystem,
Michael and Payal and Hardik and Andy have all submitted patches
"recently", and then devel@ is the mailing list for the patches to be
So, just include the maintainer and the mailing list and you will be
fine. No need to bother lkml with staging patches, nor the people who
last sent cleanup patches.
hope this helps,