diff options
author | Cornelia Huck <[email protected]> | 2019-06-24 11:07:21 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2019-06-24 17:05:16 +0200 |
commit | dbd66558dd28e69471cac7c1431bb0d8df221498 (patch) | |
tree | e1cc495a2ca652e14ba885a91d47135a46428f7a | |
parent | 9de31912490e967e148393c04fb054f0219b7350 (diff) |
vfio-ccw: make convert_ccw0_to_ccw1 static
Reported by sparse.
Fixes: 7f8e89a8f2fd ("vfio-ccw: Factor out the ccw0-to-ccw1 transition")
Signed-off-by: Cornelia Huck <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
-rw-r--r-- | drivers/s390/cio/vfio_ccw_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/vfio_ccw_cp.c b/drivers/s390/cio/vfio_ccw_cp.c index 9cddc1288059..a7b9dfd5b464 100644 --- a/drivers/s390/cio/vfio_ccw_cp.c +++ b/drivers/s390/cio/vfio_ccw_cp.c @@ -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; |