On Thu, Jun 20, 2019 at 10:52 AM Qian Cai <c...@lca.pw> 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 void inline fqdir_pre_exit(struct fqdir *fqdir) > ^~~~~~
Interesting warning, this is kind of new compiler major feature I guess :/ BTW : $ git grep -n "static void inline" | wc -l 9