diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 14629a3..50a7954 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -1484,8 +1484,8 @@ int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class, id, sizeof(id[0]) * ATA_ID_WORDS); if (err_mask) { if (err_mask & AC_ERR_NODEV_HINT) { - DPRINTK("ata%u.%d: NODEV after polling detection\n", - ap->print_id, dev->devno); + ata_dev_printk(dev, KERN_INFO, + "NODEV after polling detection\n"); return -ENOENT; }