mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
s390/vfio_ccw: fix virtual vs physical address confusion
Fix virtual vs physical address confusion. This does not fix a bug since virtual and physical address spaces are currently the same. Reviewed-by: Eric Farman <farman@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
parent
8c30b25bb3
commit
1c2be70e65
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ static void fsm_open(struct vfio_ccw_private *private,
|
|||
|
||||
spin_lock_irq(&sch->lock);
|
||||
sch->isc = VFIO_CCW_ISC;
|
||||
ret = cio_enable_subchannel(sch, (u32)(unsigned long)sch);
|
||||
ret = cio_enable_subchannel(sch, (u32)virt_to_phys(sch));
|
||||
if (ret)
|
||||
goto err_unlock;
|
||||
|
||||
|
|
Loading…
Reference in a new issue