summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/aquantia
diff options
context:
space:
mode:
authorMark Starovoytov <mstarovoitov@marvell.com>2020-05-09 09:46:54 +0300
committerJakub Kicinski <kuba@kernel.org>2020-05-09 11:47:25 -0700
commit38e86bfcf7f565639d89ce99ecf41a598f652cdc (patch)
tree819af526c7674ce1af487137ef59eaa0b5f4b30d /drivers/net/ethernet/aquantia
parent5eb2bcf247de02b92749fe6a6b342f6393ca3f86 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/aquantia')
-rw-r--r--drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h b/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h
index 2317dd8459d0..b66fa346581c 100644
--- a/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h
+++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h
@@ -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;