net: atlantic: use __packed instead of the full expansion.
authorMark Starovoytov <mstarovoitov@marvell.com>
Sat, 9 May 2020 06:46:54 +0000 (09:46 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 18:47:25 +0000 (11:47 -0700)
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>
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h

index 2317dd8459d0f28b1b56ac5d85135bc5aab60617..b66fa346581ce30b94627f810cf013d02f63323c 100644 (file)
@@ -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;