Re: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2018-01-16 Thread Alex Williamson
On Fri, 22 Dec 2017 07:12:26 +0800 Xiongwei Song wrote: > The functions vfio_mdev_probe, vfio_mdev_remove and the structure > vfio_mdev_driver are only used in this file, so make them static. > > Clean up sparse warnings: > drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no

Re: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2018-01-16 Thread Alex Williamson
On Fri, 22 Dec 2017 07:12:26 +0800 Xiongwei Song wrote: > The functions vfio_mdev_probe, vfio_mdev_remove and the structure > vfio_mdev_driver are only used in this file, so make them static. > > Clean up sparse warnings: > drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype >

Re: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-26 Thread Kirti Wankhede
On 12/22/2017 4:42 AM, Xiongwei Song wrote: > The functions vfio_mdev_probe, vfio_mdev_remove and the structure > vfio_mdev_driver are only used in this file, so make them static. > > Clean up sparse warnings: > drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype > for

Re: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-26 Thread Kirti Wankhede
On 12/22/2017 4:42 AM, Xiongwei Song wrote: > The functions vfio_mdev_probe, vfio_mdev_remove and the structure > vfio_mdev_driver are only used in this file, so make them static. > > Clean up sparse warnings: > drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype > for

RE: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-24 Thread Liu, Yi L
> Sent: Friday, December 22, 2017 7:12 AM > To: kwankh...@nvidia.com; alex.william...@redhat.com > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH] vfio: mdev: make a couple of functions and structure > vfio_mdev_driver static > > The functions vfio_mdev_probe,

RE: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-24 Thread Liu, Yi L
> Sent: Friday, December 22, 2017 7:12 AM > To: kwankh...@nvidia.com; alex.william...@redhat.com > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH] vfio: mdev: make a couple of functions and structure > vfio_mdev_driver static > > The functions vfio_mdev_probe,

Re: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-24 Thread Quan Xu
On 2017/12/22 07:12, Xiongwei Song wrote: The functions vfio_mdev_probe, vfio_mdev_remove and the structure vfio_mdev_driver are only used in this file, so make them static. Clean up sparse warnings: drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype for 'vfio_mdev_probe'

Re: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-24 Thread Quan Xu
On 2017/12/22 07:12, Xiongwei Song wrote: The functions vfio_mdev_probe, vfio_mdev_remove and the structure vfio_mdev_driver are only used in this file, so make them static. Clean up sparse warnings: drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype for 'vfio_mdev_probe'

[PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-21 Thread Xiongwei Song
The functions vfio_mdev_probe, vfio_mdev_remove and the structure vfio_mdev_driver are only used in this file, so make them static. Clean up sparse warnings: drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype for 'vfio_mdev_probe' [-Wmissing-prototypes]

[PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static

2017-12-21 Thread Xiongwei Song
The functions vfio_mdev_probe, vfio_mdev_remove and the structure vfio_mdev_driver are only used in this file, so make them static. Clean up sparse warnings: drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype for 'vfio_mdev_probe' [-Wmissing-prototypes]