Commit 8c30b25b authored by Heiko Carstens's avatar Heiko Carstens

s390/cio: 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.
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 99aea41a
......@@ -68,9 +68,9 @@ static void ccw_timeout_log(struct ccw_device *cdev)
sizeof(struct tcw), 0);
} else {
printk(KERN_WARNING "cio: orb indicates command mode\n");
if ((void *)(addr_t)orb->cmd.cpa ==
if (phys_to_virt(orb->cmd.cpa) ==
&private->dma_area->sense_ccw ||
(void *)(addr_t)orb->cmd.cpa ==
phys_to_virt(orb->cmd.cpa) ==
cdev->private->dma_area->iccws)
printk(KERN_WARNING "cio: last channel program "
"(intern):\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment