Re: [PATCH -next] inet: fix compilation warnings in fqdir_pre_exit()

2019-06-23 Thread David Miller
From: Qian Cai 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

Re: [PATCH -next] inet: fix compilation warnings in fqdir_pre_exit()

2019-06-20 Thread Eric Dumazet
On Thu, Jun 20, 2019 at 10:52 AM Qian Cai wrote: > > 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

[PATCH -next] inet: fix compilation warnings in fqdir_pre_exit()

2019-06-20 Thread Qian Cai
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