lkml.org 
[lkml]   [2022]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] staging: wlan-ng: fix checkpatch error for spinlock
Checkpatch Styleproblem fixed by adding comment.

Signed-off-by: Dalvin <pharcodra@gmail.com>
---
drivers/staging/wlan-ng/hfa384x.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 0611e37df6ac..ad117d570bb6 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1171,6 +1171,7 @@ struct hfa384x_usbctlx {
};

struct hfa384x_usbctlxq {
+ /* lock: Protect structure fields */
spinlock_t lock;
struct list_head pending;
struct list_head active;
--
2.25.1
\
 
 \ /
  Last update: 2022-12-11 11:57    [W:0.035 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site