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: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
parent
99aea41a4d
commit
8c30b25bb3
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user