提交 38e86bfc 编写于 作者: M Mark Starovoytov 提交者: Jakub Kicinski

net: atlantic: use __packed instead of the full expansion.

This patches fixes the review comment made by Jakub Kicinski
in the "net: atlantic: A2 support" patch series.
Signed-off-by: NMark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: NIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
上级 5eb2bcf2
无相关合并请求
......@@ -103,7 +103,7 @@ struct sleep_proxy_s {
u32 crc32;
} wake_up_pattern[8];
struct __attribute__ ((__packed__)) {
struct __packed {
u8 arp_responder:1;
u8 echo_responder:1;
u8 igmp_client:1;
......@@ -119,7 +119,7 @@ struct sleep_proxy_s {
u32 ipv4_offload_addr[8];
u32 reserved[8];
struct __attribute__ ((__packed__)) {
struct __packed {
u8 ns_responder:1;
u8 echo_responder:1;
u8 mld_client:1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部