Re: [PATCH -next] bluetooth: fix build break

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Anand,

* Anand Gadiyar <gadiyar@xxxxxx> [2011-02-22 12:43:09 +0530]:

> Linux-next as of 20110217 complains when building for OMAP1.
> 
>   LD      vmlinux
> `hci_sock_cleanup' referenced in section `.init.text' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o
> `hci_sock_cleanup' referenced in section `.init.text' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o
> make: *** [vmlinux] Error 1
> 
> A recent patch by Gustavo (Bluetooth: Merge L2CAP and SCO modules
> into bluetooth.ko) introduced this by calling the hci_sock_cleanup
> function in the error path of bt_init.
> 
> Fix this by dropping the __exit marking for hci_sock_cleanup.
> 
> Signed-off-by: Anand Gadiyar <gadiyar@xxxxxx>
> Cc: Gustavo F. Padovan <padovan@xxxxxxxxxxxxxx>
> ---
>  net/bluetooth/hci_sock.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I didn't catch on my system, applied. Thanks for fixing this.

-- 
Gustavo F. Padovan
http://profusion.mobi
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux