drivers/net: use __packed annotation
cleanup patch. Use new __packed annotation in drivers/net/ Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
1273d97674
commit
ba2d358791
@@ -34,13 +34,13 @@ struct rfmon_header {
|
||||
__le16 unk3;
|
||||
u8 rssi;
|
||||
u8 padding[3];
|
||||
} __attribute__ ((packed));
|
||||
} __packed;
|
||||
|
||||
struct rx_annex_header {
|
||||
u8 addr1[ETH_ALEN];
|
||||
u8 addr2[ETH_ALEN];
|
||||
struct rfmon_header rfmon;
|
||||
} __attribute__ ((packed));
|
||||
} __packed;
|
||||
|
||||
/* wlan-ng (and hopefully others) AVS header, version one. Fields in
|
||||
* network byte order. */
|
||||
|
Reference in New Issue
Block a user