[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191112103354.GF463128@stefanha-x1.localdomain>
Date: Tue, 12 Nov 2019 10:33:54 +0000
From: Stefan Hajnoczi <stefanha@...hat.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: vgoyal@...hat.com, miklos@...redi.hu, mszeredi@...hat.com,
virtualization@...ts.linux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] virtiofs: Fix old-style declaration
On Mon, Nov 11, 2019 at 08:23:59PM +0800, YueHaibing wrote:
> There expect the 'static' keyword to come first in a
> declaration, and we get warnings like this with "make W=1":
>
> fs/fuse/virtio_fs.c:687:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
> fs/fuse/virtio_fs.c:692:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
> fs/fuse/virtio_fs.c:1029:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> fs/fuse/virtio_fs.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists