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

usb: devio: fix spacing

Fix two occurrences of the checkpatch.pl error:

ERROR: space prohibited before that ',' (ctx:WxW)

Fix one occurrence of the checkpatch error:

ERROR: space required before the open parenthesis '('

Signed-off-by: Kris Borer <kborer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Kris Borer and committed by
Greg Kroah-Hartman
f355e830 40a3b775

+2 -2
+2 -2
drivers/usb/core/devio.c
··· 103 103 #define snoop(dev, format, arg...) \ 104 104 do { \ 105 105 if (usbfs_snoop) \ 106 - dev_info(dev , format , ## arg); \ 106 + dev_info(dev, format, ## arg); \ 107 107 } while (0) 108 108 109 109 enum snoop_when { ··· 1321 1321 is_in = (uurb->endpoint & USB_ENDPOINT_DIR_MASK) != 0; 1322 1322 1323 1323 u = 0; 1324 - switch(uurb->type) { 1324 + switch (uurb->type) { 1325 1325 case USBDEVFS_URB_TYPE_CONTROL: 1326 1326 if (!usb_endpoint_xfer_control(&ep->desc)) 1327 1327 return -EINVAL;