summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-10-15 13:31:39 +0200
committerCornelia Huck <cohuck@redhat.com>2018-11-13 11:45:17 +0100
commit52df7837560e51a47903b49243291fb8039653d2 (patch)
tree5e907e8ddb9b0df6f67bd208ea39c79f2c4febba /drivers/s390
parentccda4af0f4b92f7b4c308d3acc262f4a7e3affad (diff)
downloadtalos-op-linux-52df7837560e51a47903b49243291fb8039653d2.tar.gz
talos-op-linux-52df7837560e51a47903b49243291fb8039653d2.zip
s390/cio: make vfio_ccw_io_region static
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? Signed-off-by: Sebastian Ott <sebott@linux.ibm.com> Message-Id: <alpine.LFD.2.21.1810151328570.1636@schleppi.aag-de.ibmmobiledemo.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/cio/vfio_ccw_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/vfio_ccw_drv.c b/drivers/s390/cio/vfio_ccw_drv.c
index f47d16b5810b..edbf542d82af 100644
--- a/drivers/s390/cio/vfio_ccw_drv.c
+++ b/drivers/s390/cio/vfio_ccw_drv.c
@@ -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
OpenPOWER on IntegriCloud