projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c30b25
)
s390/vfio_ccw: fix virtual vs physical address confusion
author
Heiko Carstens
<hca@linux.ibm.com>
Thu, 7 Mar 2024 12:28:04 +0000
(13:28 +0100)
committer
Heiko Carstens
<hca@linux.ibm.com>
Wed, 13 Mar 2024 08:23:45 +0000
(09:23 +0100)
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>
drivers/s390/cio/vfio_ccw_fsm.c
patch
|
blob
|
history
diff --git
a/drivers/s390/cio/vfio_ccw_fsm.c
b/drivers/s390/cio/vfio_ccw_fsm.c
index 09877b46181d469a1fead1b7cbc0aff1b56e4fa9..4d7988ea47ef0f3e23304a5b1547c2bb29ce50ee 100644
(file)
--- a/
drivers/s390/cio/vfio_ccw_fsm.c
+++ b/
drivers/s390/cio/vfio_ccw_fsm.c
@@
-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;