Re: [PATCH 2.6.0-test3][BLUETOOTH] BUG fix for drivers/bluetooth/hci_usb.c

From: Taneli Vähäkangas
Date: Sat Aug 09 2003 - 14:10:24 EST


On Sat, Aug 09, 2003 at 06:41:59PM +0530, Vinay K Nallamothu wrote:
> Hi,
>
> The patch below fixes two pointer reference bugs (shows up as compile
> time warnings given below) which wrongly take the address of "struct
> usb_interface*".
>
> ============compiler warning============================
> drivers/bluetooth/hci_usb.c: In function `hci_usb_probe':
> drivers/bluetooth/hci_usb.c:786: warning: assignment from incompatible
> pointer type
> drivers/bluetooth/hci_usb.c:810: warning: assignment from incompatible
> pointer type

Hey, not only that, the fix also made bluetooth work for me (previously
it would just oops when loading hci-usb). Thanks a lot!

Taneli

-
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/