[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023081344-graveyard-frivolous-7d98@gregkh>
Date: Sun, 13 Aug 2023 08:54:13 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Tree Davies <tdavies@...kphysics.net>
Cc: philipp.g.hortmann@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/6] Staging: rtl8192e: Rename variable pBa in
function rx_ts_delete_ba()
On Sat, Aug 12, 2023 at 11:50:30PM -0700, Tree Davies wrote:
> Rename variable pBa in function rx_ts_delete_ba() to rx_ts
> to fix checkpatch warning Avoid CamelCase.
>
> Signed-off-by: Tree Davies <tdavies@...kphysics.net>
> ---
> v2:Resending in smaller patch series
> drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c
> index 0e3372868f97..1eff30533f47 100644
> --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c
> +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c
> @@ -41,9 +41,9 @@ static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs
> return bSendDELBA;
> }
>
> -static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *pRxTs)
> +static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *rx_ts)
> {
> - struct ba_record *pBa = &pRxTs->rx_admitted_ba_record;
> + struct ba_record *pBa = &rx_ts->rx_admitted_ba_record;
I think your description is wrong here, you are not renaming the pBa
variable.
thanks,
greg k-h
Powered by blists - more mailing lists