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>
这个提交包含在:
@@ -2161,21 +2161,21 @@ struct sky2_tx_le {
|
||||
__le16 length; /* also vlan tag or checksum start */
|
||||
u8 ctrl;
|
||||
u8 opcode;
|
||||
} __attribute((packed));
|
||||
} __packed;
|
||||
|
||||
struct sky2_rx_le {
|
||||
__le32 addr;
|
||||
__le16 length;
|
||||
u8 ctrl;
|
||||
u8 opcode;
|
||||
} __attribute((packed));
|
||||
} __packed;
|
||||
|
||||
struct sky2_status_le {
|
||||
__le32 status; /* also checksum */
|
||||
__le16 length; /* also vlan tag */
|
||||
u8 css;
|
||||
u8 opcode;
|
||||
} __attribute((packed));
|
||||
} __packed;
|
||||
|
||||
struct tx_ring_info {
|
||||
struct sk_buff *skb;
|
||||
|
在新工单中引用
屏蔽一个用户