mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +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
@ -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 New Issue
Block a user