[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221211105649.GA4683@koolguy>
Date: Sun, 11 Dec 2022 11:56:49 +0100
From: Dalvin Aiguobas <pharcodra@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
outreachy@...ts.linux.dev
Subject: [PATCH] staging: wlan-ng: fix checkpatch error for spinlock
Checkpatch Styleproblem fixed by adding comment.
Signed-off-by: Dalvin <pharcodra@...il.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
Powered by blists - more mailing lists