Message ID | 20181213104716.31930-15-hare@suse.de |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
Series | None | expand |
On 12/13/18 11:46 AM, Hannes Reinecke wrote: > Replace all DPRINTK calls with the ata_XXX_dbg functions. > > Signed-off-by: Hannes Reinecke <hare@suse.com> > --- > drivers/ata/sata_sx4.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c > index 405e606a234d..88a0058ba7a5 100644 > --- a/drivers/ata/sata_sx4.c > +++ b/drivers/ata/sata_sx4.c > @@ -769,7 +769,7 @@ static inline unsigned int pdc20621_host_intr(struct ata_port *ap, > } else if (qc->tf.protocol == ATA_PROT_NODATA) { > > status = ata_sff_busy_wait(ap, ATA_BUSY | ATA_DRQ, 1000); > - DPRINTK("BUS_NODATA (drv_stat 0x%X)\n", status); > + ata_port_dbg(ap, "BUS_NODATA (drv_stat 0x%X)\n", status); Please preserve __func__ printing in the conversion. > qc->err_mask |= ac_err_mask(status); > ata_qc_complete(qc); > handled = 1; Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics
diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c index 405e606a234d..88a0058ba7a5 100644 --- a/drivers/ata/sata_sx4.c +++ b/drivers/ata/sata_sx4.c @@ -769,7 +769,7 @@ static inline unsigned int pdc20621_host_intr(struct ata_port *ap, } else if (qc->tf.protocol == ATA_PROT_NODATA) { status = ata_sff_busy_wait(ap, ATA_BUSY | ATA_DRQ, 1000); - DPRINTK("BUS_NODATA (drv_stat 0x%X)\n", status); + ata_port_dbg(ap, "BUS_NODATA (drv_stat 0x%X)\n", status); qc->err_mask |= ac_err_mask(status); ata_qc_complete(qc); handled = 1;
Replace all DPRINTK calls with the ata_XXX_dbg functions. Signed-off-by: Hannes Reinecke <hare@suse.com> --- drivers/ata/sata_sx4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)