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)
commit0c7937587d8b0337466c993dc9c7645767f57bfd
tree150e7d9d3c6269fa52e0a5b82e599afbddfde5f8
parent889f0346d47a0285093a3b665d1455c084636d9f
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: 600a87490ff98 ("Bluetooth: Implementation of MGMT_OP_SET_BLOCKED_KEYS.")
Fixes: 4c54bf2b093bb ("Bluetooth: Add get/set device flags mgmt op")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c