All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: most: hdm-usb: add comment for struct mutex definition
@ 2017-09-16  6:43 Aastha Gupta
  2017-09-16  7:48 ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 8+ messages in thread
From: Aastha Gupta @ 2017-09-16  6:43 UTC (permalink / raw)
  To: outreachy-kernel, Greg Kroah-Hartman; +Cc: Aastha Gupta

This patch fixes following checkpatch.pl checks:
CHECK: struct mutex definition without comment

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
---
 drivers/staging/most/hdm-usb/hdm_usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c
index 85775da..9c58598 100644
--- a/drivers/staging/most/hdm-usb/hdm_usb.c
+++ b/drivers/staging/most/hdm-usb/hdm_usb.c
@@ -122,7 +122,7 @@ struct most_dev {
 	bool is_channel_healthy[MAX_NUM_ENDPOINTS];
 	struct clear_hold_work clear_work[MAX_NUM_ENDPOINTS];
 	struct usb_anchor *busy_urbs;
-	struct mutex io_mutex;
+	struct mutex io_mutex; /* synchronize I/O with disconnect */
 	struct timer_list link_stat_timer;
 	struct work_struct poll_work_obj;
 	void (*on_netinfo)(struct most_interface *, unsigned char,
-- 
2.7.4



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

end of thread, other threads:[~2017-09-16 10:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-16  6:43 [PATCH] staging: most: hdm-usb: add comment for struct mutex definition Aastha Gupta
2017-09-16  7:48 ` [Outreachy kernel] " Julia Lawall
2017-09-16  7:56   ` Aastha Gupta
2017-09-16  8:23     ` Julia Lawall
2017-09-16  8:39       ` Joe Perches
2017-09-16  9:35         ` Julia Lawall
2017-09-16  9:52           ` Joe Perches
2017-09-16 10:09             ` 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.