mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: use __packed annotation
cleanup patch. Use new __packed annotation in net/ and include/ (except netfilter) Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
ba2d358791
commit
bc10502dba
30 changed files with 133 additions and 133 deletions
|
|
@ -531,7 +531,7 @@ struct compat_group_req {
|
|||
__u32 gr_interface;
|
||||
struct __kernel_sockaddr_storage gr_group
|
||||
__attribute__ ((aligned(4)));
|
||||
} __attribute__ ((packed));
|
||||
} __packed;
|
||||
|
||||
struct compat_group_source_req {
|
||||
__u32 gsr_interface;
|
||||
|
|
@ -539,7 +539,7 @@ struct compat_group_source_req {
|
|||
__attribute__ ((aligned(4)));
|
||||
struct __kernel_sockaddr_storage gsr_source
|
||||
__attribute__ ((aligned(4)));
|
||||
} __attribute__ ((packed));
|
||||
} __packed;
|
||||
|
||||
struct compat_group_filter {
|
||||
__u32 gf_interface;
|
||||
|
|
@ -549,7 +549,7 @@ struct compat_group_filter {
|
|||
__u32 gf_numsrc;
|
||||
struct __kernel_sockaddr_storage gf_slist[1]
|
||||
__attribute__ ((aligned(4)));
|
||||
} __attribute__ ((packed));
|
||||
} __packed;
|
||||
|
||||
#define __COMPAT_GF0_SIZE (sizeof(struct compat_group_filter) - \
|
||||
sizeof(struct __kernel_sockaddr_storage))
|
||||
|
|
|
|||
Loading…
Reference in a new issue