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: Mark Starovoytov <mstarovoitov@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
5eb2bcf247
commit
38e86bfcf7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue