Re: [PATCH] vfio-mdev: make mdev_fops const and static

2017-10-02 Thread Alex Williamson
On Sat, 30 Sep 2017 21:47:24 +0530 Bhumika Goyal wrote: > Make this const as it is only passed to a const argument of the function > mdev_register_device. Make it static as it is not referenced in any > other file. > > Structure found using Coccinelle and changes done by hand. > > Signed-off-by

[PATCH] vfio-mdev: make mdev_fops const and static

2017-09-30 Thread Bhumika Goyal
Make this const as it is only passed to a const argument of the function mdev_register_device. Make it static as it is not referenced in any other file. Structure found using Coccinelle and changes done by hand. Signed-off-by: Bhumika Goyal --- samples/vfio-mdev/mtty.c | 2 +- 1 file changed, 1