public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: greybus: Fix spinlock_t definition without comment
@ 2019-04-05 20:00 Madhumitha Prabakaran
  2019-04-05 20:53 ` Dan Carpenter
  0 siblings, 1 reply; 6+ messages in thread
From: Madhumitha Prabakaran @ 2019-04-05 20:00 UTC (permalink / raw)
  To: johan, elder, gregkh, greybus-dev, devel, linux-kernel
  Cc: Madhumitha Prabakaran

Fix spinlock_t definition without comment.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
---
 drivers/staging/greybus/connection.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h
index 5ca3befc0636..0aedd246e94a 100644
--- a/drivers/staging/greybus/connection.h
+++ b/drivers/staging/greybus/connection.h
@@ -47,7 +47,7 @@ struct gb_connection {
 	unsigned long			flags;
 
 	struct mutex			mutex;
-	spinlock_t			lock;
+	spinlock_t			lock; /* Protect structure fields */
 	enum gb_connection_state	state;
 	struct list_head		operations;
 
-- 
2.17.1


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

end of thread, other threads:[~2019-04-15 12:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-05 20:00 [PATCH] Staging: greybus: Fix spinlock_t definition without comment Madhumitha Prabakaran
2019-04-05 20:53 ` Dan Carpenter
2019-04-05 22:50   ` [greybus-dev] " Alex Elder
2019-04-06 23:06     ` Madhumthia Prabakaran
2019-04-15 12:59     ` Johan Hovold
2019-04-06 22:55   ` Madhumthia Prabakaran

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