Re: [PATCH] 2.5.69 : drivers/bluetooth/hci_usb.c

Michael Buesch (fsdeveloper@yahoo.de)
Mon, 5 May 2003 22:57:07 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 05 May 2003 22:47, Frank Davis wrote:
> Hello,
>
> The following patch addresses the compile error below (I haven't seent
> this previously reported.). I suspect there's a cleaner patch. Please
> review. Thanks.
>
> Regards,
> Frank
>
> drivers/bluetooth/hci_usb.c: In function `hci_usb_send_bulk':
> drivers/bluetooth/hci_usb.c:461: `USB_ZERO_PACKET' undeclared (first use in
> this function) drivers/bluetooth/hci_usb.c:461: (Each undeclared identifier
> is reported only once drivers/bluetooth/hci_usb.c:461: for each function it
> appears in.) make[2]: *** [drivers/bluetooth/hci_usb.o] Error 1
> make[1]: *** [drivers/bluetooth] Error 2
> make: *** [drivers] Error 2
>
> --- linux/drivers/bluetooth/hci_usb.c.old 2003-05-05 16:38:58.000000000
> -0400 +++ linux/drivers/bluetooth/hci_usb.c 2003-05-05 16:40:35.000000000
> -0400 @@ -68,6 +68,8 @@
> #define USB_ZERO_PACKET 0
> #endif
>
> +#define USB_ZERO_PACKET 0
> +
> static struct usb_driver hci_usb_driver;
>
> static struct usb_device_id bluetooth_ids[] = {
>

> [snip] I suspect there's a cleaner patch. [/snip]

And I suspect, this patch is wrong. :)

Maxim Krasnyansky, what has USB_ZERO_PACKET to be set to if
CONFIG_BT_USB_ZERO_PACKET is enabled? I didn't find it out.

- --
Regards Michael Büsch
http://www.8ung.at/tuxsoft
22:52:55 up 5:17, 2 users, load average: 1.20, 1.25, 1.15
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ttAvoxoigfggmSgRAsZUAJ9d9XZ1FSDr2zj/ssAJOJgbyjJUvACeN43j
RMYAoDK1ZknM0GrNi4lxnwE=
=l6wk
-----END PGP SIGNATURE-----

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