Re: [PATCH] vfio-mdev/samples: make some symbols static

2019-07-02 Thread Alex Williamson
On Thu, 16 May 2019 09:55:26 +0800 Kefeng Wang wrote: > Make some structs and functions static to fix build warning, parts of > warning shown below, > > amples/vfio-mdev/mtty.c:730:5: warning: symbol 'mtty_create' was not > declared. Should it be static? > samples/vfio-mdev/mtty.c:780:5: warnin

Re: [PATCH] vfio-mdev/samples: make some symbols static

2019-05-16 Thread Andy Shevchenko
On Thu, May 16, 2019 at 09:55:26AM +0800, Kefeng Wang wrote: > Make some structs and functions static to fix build warning, parts of > warning shown below, > > amples/vfio-mdev/mtty.c:730:5: warning: symbol 'mtty_create' was not > declared. Should it be static? > samples/vfio-mdev/mtty.c:780:5: w

[PATCH] vfio-mdev/samples: make some symbols static

2019-05-15 Thread Kefeng Wang
Make some structs and functions static to fix build warning, parts of warning shown below, amples/vfio-mdev/mtty.c:730:5: warning: symbol 'mtty_create' was not declared. Should it be static? samples/vfio-mdev/mtty.c:780:5: warning: symbol 'mtty_remove' was not declared. Should it be static? samp