]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: MGMT: Fixes build warnings with C=1
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 3 Aug 2022 21:51:16 +0000 (14:51 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 9 Aug 2022 00:05:45 +0000 (17:05 -0700)
commit149083a280d92fe43dd4f37ba74022a3355b9725
tree150e7d9d3c6269fa52e0a5b82e599afbddfde5f8
parent27a3075bb1735135d1768ce013aa3d1504ac1aa7
Bluetooth: MGMT: Fixes build warnings with C=1

This fixes the following warning when building with make C=1:

net/bluetooth/mgmt.c:3821:29: warning: restricted __le16 degrades to integer
net/bluetooth/mgmt.c:4625:9: warning: cast to restricted __le32

Fixes: 789b47418432d ("Bluetooth: Implementation of MGMT_OP_SET_BLOCKED_KEYS.")
Fixes: 9a3d4fdcbc50b ("Bluetooth: Add get/set device flags mgmt op")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c