net: use __packed annotation
cleanup patch. Use new __packed annotation in net/ and include/ (except netfilter) 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
ba2d358791
commit
bc10502dba
@@ -56,7 +56,7 @@ struct phonethdr {
|
||||
__be16 pn_length;
|
||||
__u8 pn_robj;
|
||||
__u8 pn_sobj;
|
||||
} __attribute__((packed));
|
||||
} __packed;
|
||||
|
||||
/* Common Phonet payload header */
|
||||
struct phonetmsg {
|
||||
@@ -98,7 +98,7 @@ struct sockaddr_pn {
|
||||
__u8 spn_dev;
|
||||
__u8 spn_resource;
|
||||
__u8 spn_zero[sizeof(struct sockaddr) - sizeof(sa_family_t) - 3];
|
||||
} __attribute__ ((packed));
|
||||
} __packed;
|
||||
|
||||
/* Well known address */
|
||||
#define PN_DEV_PC 0x10
|
||||
|
Reference in New Issue
Block a user