[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c06e1e30-aeba-c8c-19d7-cdf83ff2099@inria.fr>
Date: Mon, 18 Mar 2024 08:39:11 +0100 (CET)
From: Julia Lawall <julia.lawall@...ia.fr>
To: Ayush Tiwari <ayushtiw0110@...il.com>
cc: Larry.Finger@...inger.net, florian.c.schilhabel@...glemail.com,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-staging@...ts.linux.dev, outreachy@...ts.linux.dev
Subject: Re: [PATCH 1/3] staging: rtl8712: rename backupPMKIDList to
backup_PMKID_list
On Mon, 18 Mar 2024, Ayush Tiwari wrote:
> Rename backupPMKIDList to backup_PMKID_list and remove extra spaces
> between RT_PMKID_LIST and backupPMKIDList to address checkpatch
> warnings and match the common kernel coding style.
>
> Signed-off-by: Ayush Tiwari <ayushtiw0110@...il.com>
> ---
> drivers/staging/rtl8712/mlme_linux.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8712/mlme_linux.c b/drivers/staging/rtl8712/mlme_linux.c
> index b9f5104f3bf7..a8cda81f4240 100644
> --- a/drivers/staging/rtl8712/mlme_linux.c
> +++ b/drivers/staging/rtl8712/mlme_linux.c
> @@ -84,7 +84,7 @@ void r8712_os_indicate_connect(struct _adapter *adapter)
> netif_carrier_on(adapter->pnetdev);
> }
>
> -static struct RT_PMKID_LIST backupPMKIDList[NUM_PMKID_CACHE];
> +static struct RT_PMKID_LIST backup_PMKID_list[NUM_PMKID_CACHE];
This one looks suspicious, because you have changed the definition but no
uses. Is it not used?
julia
> void r8712_os_indicate_disconnect(struct _adapter *adapter)
> {
> u8 backupPMKIDIndex = 0;
> --
> 2.40.1
>
>
>
Powered by blists - more mailing lists