diff options
| author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-03-14 18:54:15 +0200 |
|---|---|---|
| committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-09 00:41:32 -0300 |
| commit | 2e3c35ead821498f5b0a5b6c62365fbb187420fc (patch) | |
| tree | 461eefd8dc453b46d1bf4f2f5aa3706a15424c7b /include | |
| parent | Bluetooth: Fix broken usage of get_unaligned_le16 (diff) | |
| download | linux-2e3c35ead821498f5b0a5b6c62365fbb187420fc.tar.gz 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')
0 files changed, 0 insertions, 0 deletions
