mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
staging: vt6656: Add comment for locks
This patch fixes the checkpatch.pl warnings like: - CHECK: spinlock_t definition without comment Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/c6a5ef8e7704b488c54145b09ac44bd4880c13b4.1645477326.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
26c511f8b7
commit
efae250a1a
@@ -268,8 +268,8 @@ struct vnt_private {
|
||||
u32 rx_buf_sz;
|
||||
int mc_list_count;
|
||||
|
||||
spinlock_t lock;
|
||||
struct mutex usb_lock;
|
||||
spinlock_t lock; /* prepare tx USB URB */
|
||||
struct mutex usb_lock; /* USB control messages */
|
||||
|
||||
unsigned long flags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user