Skip to contentSkip to conversation

staging: ks7010: fix spinlock_t definition without comment

PATCH In review TaheraFahimi 2 participants 3 messages Mar 15, 2024 – Mar 20, 2024 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: ks7010: fix spinlock_t definition without comment

---
 drivers/staging/ks7010/ks_wlan.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ks7010/ks_wlan.h +1 -1
index 94322e2ea304..bda7e0255b2c 100644
@@ -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;
 
Signature · 1 line
2.34.1
#1 lore raw

On Fri, Mar 15, 2024 at 03:20:13PM -0600, TaheraFahimi wrote:

This has been discussed recently on the list -
https://lore.kernel.org/outreachy/ZfDHg49k0Og3z9Lw@tahera-OptiPlex-5000/

Quoted 22 lines
---
 drivers/staging/ks7010/ks_wlan.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ks7010/ks_wlan.h +1 -1
index 94322e2ea304..bda7e0255b2c 100644
@@ -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;
 
Signature · 1 line
2.34.1
#2 lore raw
In reply to TaheraFahimi

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.

Quoted 22 lines
---
 drivers/staging/ks7010/ks_wlan.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ks7010/ks_wlan.h +1 -1
index 94322e2ea304..bda7e0255b2c 100644
@@ -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;
 
Signature · 1 line
2.34.1