diff options
author | Ivan Vecera <ivecera@redhat.com> | 2015-06-11 15:52:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-12 00:57:15 +0200 |
commit | e423c85603fadfeb31f103826cf5986c78d949a4 (patch) | |
tree | f266e4cb9a5701d40526bc184c5cd50587732467 /drivers/net/ethernet/brocade/bna/bfa_defs.h | |
parent | bna: get rid of mac_t (diff) | |
download | linux-e423c85603fadfeb31f103826cf5986c78d949a4.tar.xz linux-e423c85603fadfeb31f103826cf5986c78d949a4.zip |
bna: replace pragma(pack) with attribute __packed
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bfa_defs.h')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bfa_defs.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bfa_defs.h b/drivers/net/ethernet/brocade/bna/bfa_defs.h index f55887b5121b..6827d915b818 100644 --- a/drivers/net/ethernet/brocade/bna/bfa_defs.h +++ b/drivers/net/ethernet/brocade/bna/bfa_defs.h @@ -187,8 +187,6 @@ enum { #define BFA_MFG_SUPPLIER_SERIALNUM_SIZE 20 #define BFA_MFG_SUPPLIER_REVISION_SIZE 4 -#pragma pack(1) - /* BFA adapter manufacturing block definition. * * All numerical fields are in big-endian format. @@ -227,9 +225,7 @@ struct bfa_mfg_block { char initial_mode[8]; /* initial mode: hba/cna/nic */ u8 rsv4[84]; u8 md5_chksum[BFA_MFG_CHKSUM_SIZE]; /* md5 checksum */ -}; - -#pragma pack() +} __packed; /* ---------------------- pci definitions ------------ */ |