Re: [PATCH] Bluetooth: trivial: Remove sparse warnings

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

 



Hi Andrei,

On Tue, Mar 13, 2012, Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
> 
> Fix sparse warnings related to incorrect type in assignment and static symbol.
> Also use const keyword. Warnings are shown below:
> 
> ...
> net/bluetooth/mgmt.c:305:28: warning: incorrect type in assignment
> (different base types)
> net/bluetooth/mgmt.c:305:28:    expected unsigned short [usertype] *opcode
> net/bluetooth/mgmt.c:305:28:    got restricted __le16 *<noident>
> ...
> net/bluetooth/mgmt.c:2609:3: warning: symbol 'mgmt_handlers' was not declared.
> Should it be static?
> ...
> 
> Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
> ---
>  net/bluetooth/mgmt.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Applied. Thanks.

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