[ide] fix printk in ide_allocate_dma_engine()

With Olaf Hering <olh@suse.de>.

Parameters were interchanged.
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent a5519a26
...@@ -830,8 +830,7 @@ static int ide_allocate_dma_engine(ide_hwif_t *hwif) ...@@ -830,8 +830,7 @@ static int ide_allocate_dma_engine(ide_hwif_t *hwif)
return 0; return 0;
printk(KERN_ERR "%s: -- Error, unable to allocate%s DMA table(s).\n", printk(KERN_ERR "%s: -- Error, unable to allocate%s DMA table(s).\n",
(hwif->dmatable_cpu == NULL) ? " CPU" : "", hwif->cds->name, !hwif->dmatable_cpu ? " CPU" : "");
hwif->cds->name);
ide_release_dma_engine(hwif); ide_release_dma_engine(hwif);
return 1; return 1;
......
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