Re: [PATCH -next] virtiofs: Fix old-style declaration

2019-11-12 Thread Stefan Hajnoczi
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/fus

[PATCH -next] virtiofs: Fix old-style declaration

2019-11-11 Thread YueHaibing
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 declaratio