Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: gpib: Add comment for mutex define

Handle checkpatch CHECK message

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241104175014.12317-7-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Dave Penkler and committed by
Greg Kroah-Hartman
93b17a59 7fa4e5bc

+1 -1
+1 -1
drivers/staging/gpib/agilent_82357a/agilent_82357a.c
··· 19 19 20 20 #define MAX_NUM_82357A_INTERFACES 128 21 21 static struct usb_interface *agilent_82357a_driver_interfaces[MAX_NUM_82357A_INTERFACES]; 22 - DEFINE_MUTEX(agilent_82357a_hotplug_lock); 22 + DEFINE_MUTEX(agilent_82357a_hotplug_lock); // protect board insertion and removal 23 23 24 24 static unsigned int agilent_82357a_update_status(gpib_board_t *board, unsigned int clear_mask); 25 25