[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLBy+u3KTjjfvyc8-r4eUdL2b6VX=fNgqFg8f7t84EUNw@mail.gmail.com>
Date: Thu, 20 Jun 2019 11:21:07 -0400
From: Eric Dumazet <edumazet@...gle.com>
To: Qian Cai <cai@....pw>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] inet: fix compilation warnings in fqdir_pre_exit()
On Thu, Jun 20, 2019 at 10:52 AM Qian Cai <cai@....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
Powered by blists - more mailing lists