Skip to content

Commit

Permalink
keucr: fixes space prohibited before warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
amarjargal authored and gregkh committed May 20, 2013
1 parent 96dfb4b commit a353959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/keucr/smilmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/keucr/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) },
Expand Down

0 comments on commit a353959

Please sign in to comment.