Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

vfio-ccw: make vfio_ccw_async_region_ops static

Since vfio_ccw_async_region_ops is not exported and has no reason to be
globally visible make it static to avoid the following sparse warning:
drivers/s390/cio/vfio_ccw_async.c:73:30: warning: symbol 'vfio_ccw_async_region_ops' was not declared. Should it be static?

Fixes: d5afd5d135c8 ("vfio-ccw: add handling for async channel instructions")
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>

+1 -1
+1 -1
drivers/s390/cio/vfio_ccw_async.c
··· 70 70 71 71 } 72 72 73 - const struct vfio_ccw_regops vfio_ccw_async_region_ops = { 73 + static const struct vfio_ccw_regops vfio_ccw_async_region_ops = { 74 74 .read = vfio_ccw_async_region_read, 75 75 .write = vfio_ccw_async_region_write, 76 76 .release = vfio_ccw_async_region_release,