Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] staging: wlan-ng: fix checkpatch error for spinlock
@ 2022-12-11 10:56 Dalvin Aiguobas
  2022-12-11 11:06 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Dalvin Aiguobas @ 2022-12-11 10:56 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, outreachy

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-11 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-11 10:56 [PATCH] staging: wlan-ng: fix checkpatch error for spinlock Dalvin Aiguobas
2022-12-11 11:06 ` Greg Kroah-Hartman
2022-12-11 11:33   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox