hcd.c
Subsystems (2)
PATCH 1/1 hcd.c
Hi.
I know this patch is not a clean solution but without it I got the following error
drivers/usb/core/hcd.c:131: error: parse error before '>>' token drivers/usb/core/hcd.c:131: error: initializer element is not constant drivers/usb/core/hcd.c:131: error: (near initialization for `usb2_rh_dev_descrip
tor[12]')drivers/usb/core/hcd.c:131: error: parse error before '>>' token drivers/usb/core/hcd.c:131: error: initializer element is not constant drivers/usb/core/hcd.c:131: error: (near initialization for `usb2_rh_dev_descrip
tor[13]')drivers/usb/core/hcd.c:154: error: parse error before '>>' token drivers/usb/core/hcd.c:154: error: initializer element is not constant drivers/usb/core/hcd.c:154: error: (near initialization for `usb11_rh_dev_descri
ptor[12]')drivers/usb/core/hcd.c:154: error: parse error before '>>' token drivers/usb/core/hcd.c:154: error: initializer element is not constant drivers/usb/core/hcd.c:154: error: (near initialization for `usb11_rh_dev_descri
ptor[13]')
Signature · 1 line
Carlo Perassi - http://www.linux.it/~carlo/
---
drivers/usb/core/hcd.c +2 -5
@@ -112,9 +112,6 @@ DECLARE_WAIT_QUEUE_HEAD(usb_kill_urb_que/*-------------------------------------------------------------------------*/ -#define KERNEL_REL ((LINUX_VERSION_CODE >> 16) & 0x0ff) -#define KERNEL_VER ((LINUX_VERSION_CODE >> 8) & 0x0ff) -/* usb 2.0 root hub device descriptor */ static const u8 usb2_rh_dev_descriptor [18 ] = {0x12 ,/* __u8 bLength; */
@@ -128,7 +125,7 @@ static const u8 usb2_rh_dev_descriptor [0x00 ,0x00 ,/* __le16 idVendor; */ 0x00 ,0x00 ,/* __le16 idProduct; */ -KERNEL_VER ,KERNEL_REL ,/* __le16 bcdDevice */ +0x02 ,0x06 ,/* __le16 bcdDevice */ 0x03 ,/* __u8 iManufacturer; */ 0x02, /* __u8 iProduct; */
@@ -151,7 +148,7 @@ static const u8 usb11_rh_dev_descriptor0x00 ,0x00 ,/* __le16 idVendor; */ 0x00 ,0x00 ,/* __le16 idProduct; */ -KERNEL_VER ,KERNEL_REL ,/* __le16 bcdDevice */ +0x02 ,0x06 ,/* __le16 bcdDevice */ 0x03 ,/* __u8 iManufacturer; */ 0x02, /* __u8 iProduct; */
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 1 line · Carlo Perassi
Hi.
Hi Carlo,
Quoted 15 lines
I know this patch is not a clean solution but without it I got the following error
drivers/usb/core/hcd.c:131: error: parse error before '>>' tokendrivers/usb/core/hcd.c:131: error: initializer element is not constantdrivers/usb/core/hcd.c:131: error: (near initialization for `usb2_rh_dev_descrip
tor[12]')drivers/usb/core/hcd.c:131: error: parse error before '>>' tokendrivers/usb/core/hcd.c:131: error: initializer element is not constantdrivers/usb/core/hcd.c:131: error: (near initialization for `usb2_rh_dev_descrip
tor[13]')drivers/usb/core/hcd.c:154: error: parse error before '>>' tokendrivers/usb/core/hcd.c:154: error: initializer element is not constant
Quoted 8 lines
drivers/usb/core/hcd.c:154: error: (near initialization for `usb11_rh_dev_descri
ptor[12]')drivers/usb/core/hcd.c:154: error: parse error before '>>' tokendrivers/usb/core/hcd.c:154: error: initializer element is not constantdrivers/usb/core/hcd.c:154: error: (near initialization for `usb11_rh_dev_descri
ptor[13]')
this is a completely unmodified ftp.kernel.org kernel?
If yes, please send:
- your .config
- the output of
bash scripts/ver_linux
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 6 lines
this is a completely unmodified ftp.kernel.org kernel?
If yes, please send:
- your .config
- the output of
bashscripts/ver_linux
I downloaded it from my usual mirror some days ago but before to send the output of ver_linux I will try again with a fresh gcc compiled by hand. If the problem will be still there, I will report it with some details.
Thank you.
Signature · 1 line
Carlo Perassi - http://www.linux.it/~carlo/
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 4 lines · Carlo Perassi
Hi.
I know this patch is not a clean solution but without it I got the following error
No, this patch is incorrect, please do a 'make clean' and then 'make' and see if the error still happens.
thanks,
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors