Build failure of drivers/usb/gadget/ether.c
FYI, allyesconfig on sparc gives:
CC drivers/usb/gadget/ether.odrivers/usb/gadget/ether.c: In function `eth_bind':drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function) drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only once drivers/usb/gadget/ether.c:2418: error: for each function it appears in.) make[3]: *** [drivers/usb/gadget/ether.o] Error 1
Alexey
Quoted 8 lines · Alexey Dobriyan
FYI, allyesconfig on sparc gives:
CC
drivers/usb/gadget/ether.odrivers/usb/gadget/ether.c: In function `eth_bind':drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function)drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only oncedrivers/usb/gadget/ether.c:2418: error: for each function it appears in.) make[3]: *** [drivers/usb/gadget/ether.o] Error 1
You didn't mention which kernel version you are using and didn't send your .config .
But this looks like an issue already fixed in Greg's tree. Can you confirm it's fixed in 2.6.11-rc4-mm1?
Quoted 1 line
Alexey
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 SeedQuoted 11 lines · Adrian Bunk
Quoted 8 lines · Alexey Dobriyan
FYI, allyesconfig on sparc gives:
CC
drivers/usb/gadget/ether.odrivers/usb/gadget/ether.c: In function `eth_bind':drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function)drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only oncedrivers/usb/gadget/ether.c:2418: error: for each function it appears in.) make[3]: *** [drivers/usb/gadget/ether.o] Error 1
Quoted 5 lines
You didn't mention which kernel version you are using and didn't send your .config .
But this looks like an issue already fixed in Greg's tree. Can you confirm it's fixed in 2.6.11-rc4-mm1?
Indeed fixed.
Alexey
Quoted 7 lines · Alexey Dobriyan
FYI, allyesconfig on sparc gives:
CC
drivers/usb/gadget/ether.odrivers/usb/gadget/ether.c: In function `eth_bind':drivers/usb/gadget/ether.c:2418: error: `control_intf' undeclared (first use in this function)drivers/usb/gadget/ether.c:2418: error: (Each undeclared identifier is reported only oncedrivers/usb/gadget/ether.c:2418: error: for each function it appears in.)
Seen on 2.6.11-rc5.
Alexey