drivers/net: use __packed annotation
cleanup patch. Use new __packed annotation in drivers/net/ Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
1273d97674
commit
ba2d358791
@@ -372,7 +372,7 @@ struct b43legacy_fw_header {
|
||||
/* Size of the data. For ucode and PCM this is in bytes.
|
||||
* For IV this is number-of-ivs. */
|
||||
__be32 size;
|
||||
} __attribute__((__packed__));
|
||||
} __packed;
|
||||
|
||||
/* Initial Value file format */
|
||||
#define B43legacy_IV_OFFSET_MASK 0x7FFF
|
||||
@@ -382,8 +382,8 @@ struct b43legacy_iv {
|
||||
union {
|
||||
__be16 d16;
|
||||
__be32 d32;
|
||||
} data __attribute__((__packed__));
|
||||
} __attribute__((__packed__));
|
||||
} data __packed;
|
||||
} __packed;
|
||||
|
||||
#define B43legacy_PHYMODE(phytype) (1 << (phytype))
|
||||
#define B43legacy_PHYMODE_B B43legacy_PHYMODE \
|
||||
|
Reference in New Issue
Block a user