aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-01-05 15:58:04 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-02-09 14:17:23 -0800
commitfec2972a3155b3f6deb6fa8f06fcd645695d6b49 (patch)
treefbc872aebb451d7828902168776038ac7fb32382 /drivers/bluetooth
parent1eec3b95b5ce7fb2cdd273ac4f8b24b1ed6776a1 (diff)
downloadlinux-fec2972a3155b3f6deb6fa8f06fcd645695d6b49.tar.gz
Bluetooth: qca: Fix sparse warnings
This fixes the following warnings: drivers/bluetooth/hci_qca.c:1014:26: warning: cast to restricted __le16 drivers/bluetooth/hci_qca.c:1028:37: warning: cast to restricted __le32 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_qca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index bbe9cf1cae27f..a5c19f32926b5 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -128,13 +128,13 @@ struct qca_memdump_event_hdr {
__u8 evt;
__u8 plen;
__u16 opcode;
- __u16 seq_no;
+ __le16 seq_no;
__u8 reserved;
} __packed;
struct qca_dump_size {
- u32 dump_size;
+ __le32 dump_size;
} __packed;
struct qca_data {