Commit 38e86bfc authored by Mark Starovoytov's avatar Mark Starovoytov Committed by 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: default avatarMark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: default avatarIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment