Commit 7dd38ba
committed
Bluetooth: MGMT: Fix sparse errors
This fixes the following errors:
net/bluetooth/mgmt.c:5400:59: sparse: sparse: incorrect type in argument 3
(different base types) @@ expected unsigned short [usertype] handle @@
got restricted __le16 [usertype] monitor_handle @@
net/bluetooth/mgmt.c:5400:59: sparse: expected unsigned short [usertype] handle
net/bluetooth/mgmt.c:5400:59: sparse: got restricted __le16 [usertype] monitor_handle
Fixes: e6ed54e ("Bluetooth: MGMT: Fix UAF on mgmt_remove_adv_monitor_complete")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Luiz Augusto von Dentz <[email protected]>1 parent 5842c01 commit 7dd38ba
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5102 | 5102 | | |
5103 | 5103 | | |
5104 | 5104 | | |
5105 | | - | |
| 5105 | + | |
5106 | 5106 | | |
5107 | 5107 | | |
5108 | 5108 | | |
5109 | | - | |
| 5109 | + | |
5110 | 5110 | | |
5111 | 5111 | | |
5112 | 5112 | | |
| |||
0 commit comments