Thread (1 message) 1 message, 1 author, 2020-01-30

Re: [PATCH 06/24] sata_qstor: move DPRINTK to ata debugging

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2020-01-30 10:48:55

On 12/13/18 11:46 AM, Hannes Reinecke wrote:
quoted hunk
Replace all DPRINTK calls with the ata_XXX_dbg functions.

Signed-off-by: Hannes Reinecke <hare@suse.com>
---
 drivers/ata/sata_qstor.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/sata_qstor.c b/drivers/ata/sata_qstor.c
index 1fe941688e95..f38f15fe1f79 100644
--- a/drivers/ata/sata_qstor.c
+++ b/drivers/ata/sata_qstor.c
@@ -388,8 +388,9 @@ static inline unsigned int qs_intr_pkt(struct ata_host *host)
 			struct qs_port_priv *pp = ap->private_data;
 			struct ata_queued_cmd *qc;
 
-			DPRINTK("SFF=%08x%08x: sCHAN=%u sHST=%d sDST=%02x\n",
-					sff1, sff0, port_no, sHST, sDST);
+			ata_port_dbg(ap,
+				"SFF=%08x%08x: sCHAN=%u sHST=%d sDST=%02x\n",
+				sff1, sff0, port_no, sHST, sDST);
Please preserve __func__ printing in the conversion.
 			handled = 1;
 			if (!pp || pp->state != qs_state_pkt)
 				continue;
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help