Re: [PATCH v2] staging: rtl8192e: Rename Enable, cck_Rx_path and disabledRF

From: Greg KH
Date: Sun Oct 23 2022 - 11:41:26 EST


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@xxxxxxxxx>

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