vfio-ccw: make convert_ccw0_to_ccw1 static
authorCornelia Huck <cohuck@redhat.com>
Mon, 24 Jun 2019 09:07:21 +0000 (11:07 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 24 Jun 2019 15:05:16 +0000 (17:05 +0200)
Reported by sparse.

Fixes: 7f8e89a8f2fd ("vfio-ccw: Factor out the ccw0-to-ccw1 transition")
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190624090721.16241-1-cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/vfio_ccw_cp.c

index 9cddc1288059018f4f6b3ac2a6cc39ac89af95af..a7b9dfd5b4646feee91ec6ed43cc1c42e53a6305 100644 (file)
@@ -161,7 +161,7 @@ static inline void pfn_array_idal_create_words(
        idaws[0] += pa->pa_iova & (PAGE_SIZE - 1);
 }
 
-void convert_ccw0_to_ccw1(struct ccw1 *source, unsigned long len)
+static void convert_ccw0_to_ccw1(struct ccw1 *source, unsigned long len)
 {
        struct ccw0 ccw0;
        struct ccw1 *pccw1 = source;