[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y1Vgms28JIPluZ45@kroah.com>
Date: Sun, 23 Oct 2022 17:41:14 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Dragan Cvetic <dragan.m.cvetic@...il.com>
Cc: philipp.g.hortmann@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] staging: rtl8192e: Rename Enable, cck_Rx_path and
disabledRF
On Sat, Oct 22, 2022 at 04:15:06PM +0100, Dragan Cvetic wrote:
> Rename variable Enable to enable, cck_Rx_path to cck_rx_path and
> disabledRF to disabled_rf to avoid CamelCase which is not accepted
> by checkpatch.
>
> Signed-off-by: Dragan Cvetic <dragan.m.cvetic@...il.com>
Any reason you didn't cc: the staging tree maintainer? :(
Anyway, this changelog is confusing, you just list some random variable
names that you have changed, without any explaining what ties them
together.
The code itself gives you a clue:
> struct drx_path_sel {
> - u8 Enable;
> + u8 enable;
> u8 cck_method;
> - u8 cck_Rx_path;
> + u8 cck_rx_path;
>
> u8 SS_TH_low;
> u8 diff_TH;
> - u8 disabledRF;
> + u8 disabled_rf;
> u8 reserved;
>
> u8 rf_rssi[4];
Ah, you are fixing up the drx_path_sel structure.
But just some of the fields, not all of them, odd.
Please redo this and make the changelog more descriptive of what you are
doing, as well as the subject line (don't need the variable names in
there.)
Also do it for all the fields in the structure, not just 3 random ones.
thanks,
greg k-h
Powered by blists - more mailing lists