mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
vfio-ccw: make convert_ccw0_to_ccw1 static
Reported by sparse.
Fixes: 7f8e89a8f2
("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>
This commit is contained in:
parent
9de3191249
commit
dbd66558dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user