All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: iio: gyro: add comment to mutex
@ 2016-09-28 17:07 Anchal Jain
  2016-09-28 17:55 ` [Outreachy kernel] " Alison Schofield
  0 siblings, 1 reply; 3+ messages in thread
From: Anchal Jain @ 2016-09-28 17:07 UTC (permalink / raw)
  To: Michael.Hennerich; +Cc: gregkh, outreachy-kernel

Fix the checkpatch.pl issues:
CHECK: struct mutes definition without comment

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
---
 drivers/staging/iio/gyro/adis16060_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/iio/gyro/adis16060_core.c b/drivers/staging/iio/gyro/adis16060_core.c
index ab816a2..96230b6 100644
--- a/drivers/staging/iio/gyro/adis16060_core.c
+++ b/drivers/staging/iio/gyro/adis16060_core.c
@@ -33,7 +33,7 @@
 struct adis16060_state {
 	struct spi_device		*us_w;
 	struct spi_device		*us_r;
-	struct mutex			buf_lock;
+	struct mutex			buf_lock; /* protect tx and rx */
 
 	u8 buf[3] ____cacheline_aligned;
 };
-- 
1.9.1



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

end of thread, other threads:[~2016-09-28 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 17:07 [PATCH] staging: iio: gyro: add comment to mutex Anchal Jain
2016-09-28 17:55 ` [Outreachy kernel] " Alison Schofield
2016-09-28 20:41   ` Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.