[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190623.112527.356335784552993919.davem@davemloft.net>
Date: Sun, 23 Jun 2019 11:25:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: cai@....pw
Cc: edumazet@...gle.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] inet: fix compilation warnings in
fqdir_pre_exit()
From: Qian Cai <cai@....pw>
Date: Thu, 20 Jun 2019 10:52:40 -0400
> The linux-next commit "inet: fix various use-after-free in defrags
> units" [1] introduced compilation warnings,
>
> ./include/net/inet_frag.h:117:1: warning: 'inline' is not at beginning
> of declaration [-Wold-style-declaration]
> static void inline fqdir_pre_exit(struct fqdir *fqdir)
> ^~~~~~
> In file included from ./include/net/netns/ipv4.h:10,
> from ./include/net/net_namespace.h:20,
> from ./include/linux/netdevice.h:38,
> from ./include/linux/icmpv6.h:13,
> from ./include/linux/ipv6.h:86,
> from ./include/net/ipv6.h:12,
> from ./include/rdma/ib_verbs.h:51,
> from ./include/linux/mlx5/device.h:37,
> from ./include/linux/mlx5/driver.h:51,
> from
> drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c:37:
>
> [1] https://lore.kernel.org/netdev/20190618180900.88939-3-edumazet@google.com/
>
> Signed-off-by: Qian Cai <cai@....pw>
Applied.
Powered by blists - more mailing lists