Skip to contentSkip to conversation

drivers/bluetooth/btusb.c:97:2: error: expected '}' before '{' token

PATCH In review Fengguang Wu 3 participants 3 messages Sep 19, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 22/22 drivers/bluetooth/btusb.c:97:2: error: expected '}' before '{' token

Hi Jaroslav,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   493969cf4728668412ecd428a60b39914d9831e3
commit: 493969cf4728668412ecd428a60b39914d9831e3 [22/22] Bluetooth: Add support for BCM20702A0 [04ca, 2003]
config: x86_64-allmodconfig

All related error/warning messages:

drivers/bluetooth/btusb.c:97:2: error: expected '}' before '{' token

vim +97 drivers/bluetooth/btusb.c

    92		/* Canyon CN-BTU1 with HID interfaces */
    93		{ USB_DEVICE(0x0c10, 0x0000) },
    94	
    95		/* Broadcom BCM20702A0 */
    96		{ USB_DEVICE(0x04ca, 0x2003) }
Quoted 1 line

97 { USB_DEVICE(0x0489, 0xe042) },

    98		{ USB_DEVICE(0x0a5c, 0x21e3) },
    99		{ USB_DEVICE(0x0a5c, 0x21e6) },

100 { USB_DEVICE(0x0a5c, 0x21e8) },
101 { USB_DEVICE(0x0a5c, 0x21f3) },
102 { USB_DEVICE(0x413c, 0x8197) },

---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation

#1 lore raw

Hi Fengguang,

Quoted 19 lines · Fengguang Wu

Hi Jaroslav,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   493969cf4728668412ecd428a60b39914d9831e3
commit: 493969cf4728668412ecd428a60b39914d9831e3 [22/22] Bluetooth: Add support for BCM20702A0 [04ca, 2003]
config: x86_64-allmodconfig

All related error/warning messages:

drivers/bluetooth/btusb.c:97:2: error: expected '}' before '{' token

vim +97 drivers/bluetooth/btusb.c

    92		/* Canyon CN-BTU1 with HID interfaces */
    93		{ USB_DEVICE(0x0c10, 0x0000) },
    94	
    95		/* Broadcom BCM20702A0 */
    96		{ USB_DEVICE(0x04ca, 0x2003) }
Quoted 6 lines
Quoted 1 line

97 { USB_DEVICE(0x0489, 0xe042) },

    98		{ USB_DEVICE(0x0a5c, 0x21e3) },
    99		{ USB_DEVICE(0x0a5c, 0x21e6) },

100 { USB_DEVICE(0x0a5c, 0x21e8) },
101 { USB_DEVICE(0x0a5c, 0x21f3) },
102 { USB_DEVICE(0x413c, 0x8197) },

I fixed this upstream already. Thanks for reporting.

Gustavo

#2 lore raw

Hi All,

Thanks for your kindly reminder.
Will pay more attention next time.

Cheers,
AL

Quoted 33 lines · Gustavo Padovan

Hi Fengguang,

Quoted 19 lines · Fengguang Wu

Hi Jaroslav,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   493969cf4728668412ecd428a60b39914d9831e3
commit: 493969cf4728668412ecd428a60b39914d9831e3 [22/22] Bluetooth: Add support for BCM20702A0 [04ca, 2003]
config: x86_64-allmodconfig

All related error/warning messages:

drivers/bluetooth/btusb.c:97:2: error: expected '}' before '{' token

vim +97 drivers/bluetooth/btusb.c

    92                /* Canyon CN-BTU1 with HID interfaces */
    93                { USB_DEVICE(0x0c10, 0x0000) },
    94
    95                /* Broadcom BCM20702A0 */
    96                { USB_DEVICE(0x04ca, 0x2003) }
Quoted 6 lines
Quoted 1 line

97 { USB_DEVICE(0x0489, 0xe042) },

    98                { USB_DEVICE(0x0a5c, 0x21e3) },
    99                { USB_DEVICE(0x0a5c, 0x21e6) },
   100                { USB_DEVICE(0x0a5c, 0x21e8) },
   101                { USB_DEVICE(0x0a5c, 0x21f3) },
   102                { USB_DEVICE(0x413c, 0x8197) },

I fixed this upstream already. Thanks for reporting.

Gustavo

Signature · 7 lines
Al Yu-Chen Cho
Software Engineer
Room B, 26/F, No. 216 Tun-Hwa S. Road, Sec. 2
Taipei, 106
+8862-2376-0010 X20031
[email protected]
SUSE