Explorar o código

net: remove last uses of __attribute__((packed))

Network code uses the __packed macro instead of __attribute__((packed)).

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gustavo F. Padovan %!s(int64=15) %!d(string=hai) anos
pai
achega
3f30fc1570
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      include/net/mac80211.h
  2. 1 1
      net/ipv4/netfilter/ipt_CLUSTERIP.c

+ 1 - 1
include/net/mac80211.h

@@ -412,7 +412,7 @@ struct ieee80211_tx_rate {
 	s8 idx;
 	u8 count;
 	u8 flags;
-} __attribute__((packed));
+} __packed;
 
 /**
  * struct ieee80211_tx_info - skb transmit information

+ 1 - 1
net/ipv4/netfilter/ipt_CLUSTERIP.c

@@ -469,7 +469,7 @@ struct arp_payload {
 	__be32 src_ip;
 	u_int8_t dst_hw[ETH_ALEN];
 	__be32 dst_ip;
-} __attribute__ ((packed));
+} __packed;
 
 #ifdef DEBUG
 static void arp_print(struct arp_payload *payload)