summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-03-14 17:54:15 +0100
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 05:41:32 +0200
commit2e3c35ead821498f5b0a5b6c62365fbb187420fc (patch)
tree461eefd8dc453b46d1bf4f2f5aa3706a15424c7b /include/net
parentBluetooth: Fix broken usage of get_unaligned_le16 (diff)
downloadlinux-2e3c35ead821498f5b0a5b6c62365fbb187420fc.tar.xz
linux-2e3c35ead821498f5b0a5b6c62365fbb187420fc.zip
Bluetooth: trivial: Remove sparse warnings
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@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions