Skip to content

Commit

Permalink
vfio-ccw: make convert_ccw0_to_ccw1 static
Browse files Browse the repository at this point in the history
Reported by sparse.

Fixes: 7f8e89a ("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>
  • Loading branch information
Cornelia Huck authored and Vasily Gorbik committed Jun 24, 2019
1 parent 9de3191 commit dbd6655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/cio/vfio_ccw_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dbd6655

Please sign in to comment.