Re: [PATCH] staging: ks7010: fix spinlock_t definition without comment

Alison Schofield <[email protected]>
Newsgroups dev.linux.lists.outreachy
Message-ID <Zfs3gCsZns8FNyUv@aschofie-mobl2>
On Fri, Mar 15, 2024 at 03:20:13PM -0600, TaheraFahimi wrote:

The to/cc list seems trimmed. Is that what you got using steps in
first patch tutorial. Weird I don't see at least linux-staging.

> Signed-off-by: TaheraFahimi <[email protected]>
> ---
>  drivers/staging/ks7010/ks_wlan.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
> index 94322e2ea304..bda7e0255b2c 100644
> --- a/drivers/staging/ks7010/ks_wlan.h
> +++ b/drivers/staging/ks7010/ks_wlan.h
> @@ -468,7 +468,7 @@ struct ks_wlan_private {
>  	char nick[IW_ESSID_MAX_SIZE + 1];
>  
>  	spinlock_t multicast_spin;
> -	/* lock for synchronize access to device read operation */
> +	/* lock to ensure safe access to the device's receive buffer */
>  	spinlock_t dev_read_lock;
>  	wait_queue_head_t devread_wait;
>  
> -- 
> 2.34.1
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.