]> 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)
commit6bf7d34811b621c87818cc82d848274730f4400f
tree150e7d9d3c6269fa52e0a5b82e599afbddfde5f8
parent74817d708c45f1b3fda89c63cba46bccb33fa440
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: c3a6eb622096f ("Bluetooth: Implementation of MGMT_OP_SET_BLOCKED_KEYS.")
Fixes: 0c2100b9202ff ("Bluetooth: Add get/set device flags mgmt op")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c