Re: [PATCH 5/9] libata-eh.c conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Borislav Petkov wrote:
@@ -516,7 +518,7 @@ void ata_port_schedule_eh(struct ata_por
 	ap->flags |= ATA_FLAG_EH_PENDING;
 	scsi_schedule_eh(ap->host);
- DPRINTK("port EH scheduled\n");
+	ata_port_printk(ap, ATA_MSG_INFO, "port EH scheduled\n");

DEBUG

 }
/**
@@ -580,7 +582,7 @@ static void __ata_port_freeze(struct ata
ap->flags |= ATA_FLAG_FROZEN; - DPRINTK("ata%u port frozen\n", ap->id);
+	ata_port_printk(ap, ATA_MSG_INFO, "ata%u port frozen\n", ap->id);

DEBUG

 }
/**
@@ -653,7 +655,7 @@ void ata_eh_thaw_port(struct ata_port *a
spin_unlock_irqrestore(ap->lock, flags); - DPRINTK("ata%u port thawed\n", ap->id);
+	ata_port_printk(ap, ATA_MSG_INFO, "ata%u port thawed\n", ap->id);

DEBUG

 }
static void ata_eh_scsidone(struct scsi_cmnd *scmd)
@@ -839,7 +841,7 @@ static unsigned int ata_read_log_page(st
 	struct ata_taskfile tf;
 	unsigned int err_mask;
- DPRINTK("read log page - page %d\n", page);
+	ata_dev_printk(dev, ATA_MSG_INFO, "read log page - page %d\n", page);

DEBUG

ata_tf_init(dev, &tf);
 	tf.command = ATA_CMD_READ_LOG_EXT;
@@ -931,7 +934,7 @@ static unsigned int atapi_eh_request_sen
 	struct ata_taskfile tf;
 	u8 cdb[ATAPI_CDB_LEN];
- DPRINTK("ATAPI request sense\n");
+	ata_port_printk(ap, ATA_MSG_INFO, "ATAPI request sense\n");

DEBUG

ata_tf_init(dev, &tf);

--
tejun
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux