diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-02 14:10:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 06:18:23 -0400 |
commit | ba2d3587912f82d1ab4367975b1df460db60fb1e (patch) | |
tree | 1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/wireless/orinoco/hw.c | |
parent | 1273d97674a1782ff55b823aa6c40aea9b538aaf (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/orinoco/hw.c')
-rw-r--r-- | drivers/net/wireless/orinoco/hw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco/hw.c b/drivers/net/wireless/orinoco/hw.c index 6fbd78850123..077baa86756b 100644 --- a/drivers/net/wireless/orinoco/hw.c +++ b/drivers/net/wireless/orinoco/hw.c | |||
@@ -45,7 +45,7 @@ static const struct { | |||
45 | /* Firmware version encoding */ | 45 | /* Firmware version encoding */ |
46 | struct comp_id { | 46 | struct comp_id { |
47 | u16 id, variant, major, minor; | 47 | u16 id, variant, major, minor; |
48 | } __attribute__ ((packed)); | 48 | } __packed; |
49 | 49 | ||
50 | static inline fwtype_t determine_firmware_type(struct comp_id *nic_id) | 50 | static inline fwtype_t determine_firmware_type(struct comp_id *nic_id) |
51 | { | 51 | { |
@@ -995,7 +995,7 @@ int __orinoco_hw_set_tkip_key(struct orinoco_private *priv, int key_idx, | |||
995 | u8 tx_mic[MIC_KEYLEN]; | 995 | u8 tx_mic[MIC_KEYLEN]; |
996 | u8 rx_mic[MIC_KEYLEN]; | 996 | u8 rx_mic[MIC_KEYLEN]; |
997 | u8 tsc[ORINOCO_SEQ_LEN]; | 997 | u8 tsc[ORINOCO_SEQ_LEN]; |
998 | } __attribute__ ((packed)) buf; | 998 | } __packed buf; |
999 | hermes_t *hw = &priv->hw; | 999 | hermes_t *hw = &priv->hw; |
1000 | int ret; | 1000 | int ret; |
1001 | int err; | 1001 | int err; |
@@ -1326,7 +1326,7 @@ int orinoco_hw_disassociate(struct orinoco_private *priv, | |||
1326 | struct { | 1326 | struct { |
1327 | u8 addr[ETH_ALEN]; | 1327 | u8 addr[ETH_ALEN]; |
1328 | __le16 reason_code; | 1328 | __le16 reason_code; |
1329 | } __attribute__ ((packed)) buf; | 1329 | } __packed buf; |
1330 | 1330 | ||
1331 | /* Currently only supported by WPA enabled Agere fw */ | 1331 | /* Currently only supported by WPA enabled Agere fw */ |
1332 | if (!priv->has_wpa) | 1332 | if (!priv->has_wpa) |