2.6.12-rc4-mm1: drivers/usb/gadget/ether.c compile error

From: Adrian Bunk
Date: Sun May 15 2005 - 04:45:36 EST


On Thu, May 12, 2005 at 03:31:00AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.12-rc3-mm3:
>...
> +gregkh-04-USB-gregkh-usb-031_usb-ethernet_gadget_cleanups.patch
>...
> USB tree
>...

This patch breaks compilation with CONFIG_USB_ETH=y and
CONFIG_USB_ETH_RNDIS=n:

<-- snip -->

...
CC drivers/usb/gadget/ether.o
drivers/usb/gadget/ether.c: In function `rx_submit':
drivers/usb/gadget/ether.c:1620: error: invalid application of `sizeof' to incomplete type `rndis_packet_msg_type'
make[2]: *** [drivers/usb/gadget/ether.o] Error 1

<-- snip -->

cu
Adrian

--

"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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/