All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8712: Add comment to lock declaration
@ 2019-10-07 20:52 Jules Irenge
  2019-10-07 20:55 ` [Outreachy kernel] " Julia Lawall
  2019-10-08  6:16 ` Dan Carpenter
  0 siblings, 2 replies; 4+ messages in thread
From: Jules Irenge @ 2019-10-07 20:52 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: gregkh, Larry.Finger, devel, Jules Irenge

Add comment to spinlock declaration to fix warning issued by checkpatch.pl
"CHECK: spinlock_t definition without comment".

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
---
 drivers/staging/rtl8712/drv_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
index 0c4325073c63..960d8709aada 100644
--- a/drivers/staging/rtl8712/drv_types.h
+++ b/drivers/staging/rtl8712/drv_types.h
@@ -160,7 +160,7 @@ struct _adapter {
 	int pid; /*process id from UI*/
 	struct work_struct wk_filter_rx_ff0;
 	u8 blnEnableRxFF0Filter;
-	spinlock_t lock_rx_ff0_filter;
+	spinlock_t lock_rx_ff0_filter; /*spinlock to protect interrupt request*/
 	const struct firmware *fw;
 	struct usb_interface *pusb_intf;
 	struct mutex mutex_start;
-- 
2.21.0



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

end of thread, other threads:[~2019-10-09 11:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-07 20:52 [PATCH] staging: rtl8712: Add comment to lock declaration Jules Irenge
2019-10-07 20:55 ` [Outreachy kernel] " Julia Lawall
2019-10-09 11:18   ` Jules Irenge
2019-10-08  6:16 ` Dan Carpenter

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.