Commit e099b2d9 authored by Ameen Ali's avatar Ameen Ali Committed by David S. Miller

net: __aligned(size) is preferred over __attribute__((aligned(size)))

Signed-off-by: default avatarAmeen Ali <AmeenAli023@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 92b83917
......@@ -508,25 +508,25 @@ COMPAT_SYSCALL_DEFINE5(getsockopt, int, fd, int, level, int, optname,
struct compat_group_req {
__u32 gr_interface;
struct __kernel_sockaddr_storage gr_group
__attribute__ ((aligned(4)));
__aligned(4);
} __packed;
struct compat_group_source_req {
__u32 gsr_interface;
struct __kernel_sockaddr_storage gsr_group
__attribute__ ((aligned(4)));
__aligned(4);
struct __kernel_sockaddr_storage gsr_source
__attribute__ ((aligned(4)));
__aligned(4);
} __packed;
struct compat_group_filter {
__u32 gf_interface;
struct __kernel_sockaddr_storage gf_group
__attribute__ ((aligned(4)));
__aligned(4);
__u32 gf_fmode;
__u32 gf_numsrc;
struct __kernel_sockaddr_storage gf_slist[1]
__attribute__ ((aligned(4)));
__aligned(4);
} __packed;
#define __COMPAT_GF0_SIZE (sizeof(struct compat_group_filter) - \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment