Skip to contentSkip to conversation

staging: greybus: resolved checkpatch checks for raw.c

PATCH Superseded Rachit Dhar 1 participant 1 message Feb 4

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 3/4 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