Bluetooth: qca: Fix sparse warnings

JIRA: https://issues.redhat.com/browse/RHEL-2530

commit fec2972a3155b3f6deb6fa8f06fcd645695d6b49
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date:   Thu Jan 5 15:58:04 2023 -0800

    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>

Signed-off-by: Bastien Nocera <bnocera@redhat.com>
This commit is contained in:
Bastien Nocera 2023-08-24 10:33:52 +02:00
parent a2b12a16e0
commit d28ddc2e0f
1 changed files with 2 additions and 2 deletions

View File

@ -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 {