mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
ba2d358791
commit
bc10502dba
30 changed files with 133 additions and 133 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue