Skip to contentSkip to conversation

s390/cio: make vfio_ccw_io_region static

GIT PULL Cornelia Huck 1 participant 1 message Nov 13, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

From: Sebastian Ott <[email protected]>

Fix the following sparse warning:
drivers/s390/cio/vfio_ccw_drv.c:25:19: warning: symbol 'vfio_ccw_io_region' was not declared. Should it be static?

Message-Id: <alpine.LFD.2.21.1810151328570.1636@schleppi.aag-de.ibmmobiledemo.com>

---
 drivers/s390/cio/vfio_ccw_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/s390/cio/vfio_ccw_drv.c +1 -1
index f47d16b5810b..edbf542d82af 100644
@@ -22,7 +22,7 @@
 #include "vfio_ccw_private.h"
 
 struct workqueue_struct *vfio_ccw_work_q;
-struct kmem_cache *vfio_ccw_io_region;
+static struct kmem_cache *vfio_ccw_io_region;
 
 /*
  * Helpers
Signature · 1 line
2.17.2