Skip to contentSkip to conversation

staging: greybus: resolved checkpatch checks for raw.c

PATCH In review Rachit Dhar 1 participant 1 message Feb 2

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 staging: greybus: resolved checkpatch checks for raw.c

Added comment to mutex declaration, to resolve checkpatch.pl check.

---
 drivers/staging/greybus/raw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/raw.c +1 -1
index 71de6776739c..4f217f20f1c0 100644
@@ -20,7 +20,7 @@ struct gb_raw {
 
 	struct list_head list;
 	int list_data;
-	struct mutex list_lock;
+	struct mutex list_lock; /* protects gb_raw->list and gb_raw->list_data */
 	dev_t dev;
 	struct cdev cdev;
 	struct device *device;
Signature · 1 line
2.43.0