From: Dalvin Aiguobas <pharcodra@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
outreachy@lists.linux.dev
Subject: [PATCH] staging: wlan-ng: fix checkpatch error for spinlock
Date: Sun, 11 Dec 2022 11:56:49 +0100 [thread overview]
Message-ID: <20221211105649.GA4683@koolguy> (raw)
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
next reply other threads:[~2022-12-11 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-11 10:56 Dalvin Aiguobas [this message]
2022-12-11 11:06 ` [PATCH] staging: wlan-ng: fix checkpatch error for spinlock Greg Kroah-Hartman
2022-12-11 11:33 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221211105649.GA4683@koolguy \
--to=pharcodra@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=outreachy@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox