Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gustavo F. Padovan and committed by
David S. Miller
3f30fc15 942875ff

+2 -2
+1 -1
include/net/mac80211.h
··· 412 412 s8 idx; 413 413 u8 count; 414 414 u8 flags; 415 - } __attribute__((packed)); 415 + } __packed; 416 416 417 417 /** 418 418 * struct ieee80211_tx_info - skb transmit information
+1 -1
net/ipv4/netfilter/ipt_CLUSTERIP.c
··· 469 469 __be32 src_ip; 470 470 u_int8_t dst_hw[ETH_ALEN]; 471 471 __be32 dst_ip; 472 - } __attribute__ ((packed)); 472 + } __packed; 473 473 474 474 #ifdef DEBUG 475 475 static void arp_print(struct arp_payload *payload)