Re: [PATCH v2] virtiofs: Use static const, not const static

2019-11-12 Thread Vivek Goyal
On Mon, Nov 11, 2019 at 08:15:45PM +0800, zhengbin wrote: > Move the static keyword to the front of declarations, which resolves > compiler warnings when building with "W=1": > > fs/fuse/virtio_fs.c:687:1: warning: ‘static’ is not at beginning of > declaration [-Wold-style-declaration] > const

Re: [PATCH v2] virtiofs: Use static const, not const static

2019-11-12 Thread Stefan Hajnoczi
On Mon, Nov 11, 2019 at 08:15:45PM +0800, zhengbin wrote: > Move the static keyword to the front of declarations, which resolves > compiler warnings when building with "W=1": > > fs/fuse/virtio_fs.c:687:1: warning: ‘static’ is not at beginning of > declaration [-Wold-style-declaration] > const