xsk: proper '=' alignment
authorBjörn Töpel <bjorn.topel@intel.com>
Fri, 18 May 2018 12:00:24 +0000 (14:00 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 18 May 2018 14:07:03 +0000 (16:07 +0200)
Properly align xsk_proto_ops initialization.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/xdp/xsk.c

index b8d1cb4d78c03782fbab286ff905df2462b671cf..817340f7725dbba0e6ef921117880a0e8fbcbd41 100644 (file)
@@ -545,24 +545,24 @@ static struct proto xsk_proto = {
 };
 
 static const struct proto_ops xsk_proto_ops = {
-       .family =       PF_XDP,
-       .owner =        THIS_MODULE,
-       .release =      xsk_release,
-       .bind =         xsk_bind,
-       .connect =      sock_no_connect,
-       .socketpair =   sock_no_socketpair,
-       .accept =       sock_no_accept,
-       .getname =      sock_no_getname,
-       .poll =         xsk_poll,
-       .ioctl =        sock_no_ioctl,
-       .listen =       sock_no_listen,
-       .shutdown =     sock_no_shutdown,
-       .setsockopt =   xsk_setsockopt,
-       .getsockopt =   xsk_getsockopt,
-       .sendmsg =      xsk_sendmsg,
-       .recvmsg =      sock_no_recvmsg,
-       .mmap =         xsk_mmap,
-       .sendpage =     sock_no_sendpage,
+       .family         = PF_XDP,
+       .owner          = THIS_MODULE,
+       .release        = xsk_release,
+       .bind           = xsk_bind,
+       .connect        = sock_no_connect,
+       .socketpair     = sock_no_socketpair,
+       .accept         = sock_no_accept,
+       .getname        = sock_no_getname,
+       .poll           = xsk_poll,
+       .ioctl          = sock_no_ioctl,
+       .listen         = sock_no_listen,
+       .shutdown       = sock_no_shutdown,
+       .setsockopt     = xsk_setsockopt,
+       .getsockopt     = xsk_getsockopt,
+       .sendmsg        = xsk_sendmsg,
+       .recvmsg        = sock_no_recvmsg,
+       .mmap           = xsk_mmap,
+       .sendpage       = sock_no_sendpage,
 };
 
 static void xsk_destruct(struct sock *sk)