[Bluetooth]: Add endian annotations to the core
This patch adds the endian annotations to the Bluetooth core. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Este cometimento está contido em:

cometido por
David S. Miller

ascendente
7ef934b3b7
cometimento
1ebb92521d
@@ -84,8 +84,8 @@ struct bpa10x_data {
|
||||
|
||||
struct hci_vendor_hdr {
|
||||
__u8 type;
|
||||
__u16 snum;
|
||||
__u16 dlen;
|
||||
__le16 snum;
|
||||
__le16 dlen;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
static void bpa10x_recv_bulk(struct bpa10x_data *data, unsigned char *buf, int count)
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador