]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
keucr: fixes space prohibited before warning
authorAmarjargal Gundjalam <amarjargal16@gmail.com>
Fri, 17 May 2013 08:05:04 +0000 (01:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2013 04:05:44 +0000 (21:05 -0700)
This patch fixes the following checkpatch error and warning,
ERROR: space prohibited before open square bracket '['
WARNING: space prohibited before semicolon

Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/keucr/smilmain.c
drivers/staging/keucr/usb.c

index 47c03489fe1eaa418f0f1d259c479b74a19c248b..ede7e1f2c24bddf65cd054cf5c59732610da0862 100644 (file)
@@ -61,7 +61,7 @@ DWORD MediaChange;
 static DWORD SectCopyMode;
 
 //BIT Control Macro
-static BYTE BitData[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 } ;
+static BYTE BitData[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 };
 #define Set_D_Bit(a, b)    (a[(BYTE)((b) / 8)] |= BitData[(b) % 8])
 #define Clr_D_Bit(a, b)    (a[(BYTE)((b) / 8)] &= ~BitData[(b) % 8])
 #define Chk_D_Bit(a, b)    (a[(BYTE)((b) / 8)] & BitData[(b) % 8])
index bbfaa94beb8c4975005662f254e3eed6b40afdcc..cf9c96d52f94437e473050e6a9391345534fe81c 100644 (file)
@@ -24,7 +24,7 @@ MODULE_LICENSE("GPL");
 
 static unsigned int delay_use = 1;
 
-static struct usb_device_id eucr_usb_ids [] = {
+static struct usb_device_id eucr_usb_ids[] = {
        { USB_DEVICE(0x058f, 0x6366) },
        { USB_DEVICE(0x0cf2, 0x6230) },
        { USB_DEVICE(0x0cf2, 0x6250) },