Re: [PATCH 33/73] pata_octeon_cf: Drop pointless VPRINTK() calls and convert the remaining ones

From
Sergey Shtylyov <hidden>
Date
2021-12-09 08:39:15
Reply to
Hannes Reinecke, 2021-12-08
On 08.12.2021 19:32, Hannes Reinecke wrote:
Drop pointless VPRINTK() calls for entering and existing interrupt
   s/existing/exiting/?
   BTW, I'm not seeing where you drop VPRINTK() calls in the interrupt handlers...
quoted hunk ↗ jump to hunk
routines and convert the remaining calls to dev_dbg().

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
  drivers/ata/pata_octeon_cf.c | 23 ++---------------------
  1 file changed, 2 insertions(+), 21 deletions(-)
diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c
index 7b80bbd9b1ed..de27428920a0 100644
--- a/drivers/ata/pata_octeon_cf.c
+++ b/drivers/ata/pata_octeon_cf.c
[...]
quoted hunk ↗ jump to hunk
@@ -617,9 +599,8 @@ static unsigned int octeon_cf_dma_finished(struct ata_port *ap,
  	union cvmx_mio_boot_dma_intx dma_int;
  	u8 status;
  
-	VPRINTK("ata%u: protocol %d task_state %d\n",
-		ap->print_id, qc->tf.protocol, ap->hsm_task_state);
-
+	ata_port_dbg(ap, "protocol %d task_state %d\n",
+		     qc->tf.protocol, ap->hsm_task_state);
   You are replacing VPRINTK() here, not removing...

[...]

MBR, Sergey
Thread (105 messages) 105 messages, 5 authors, last reply 2021-12-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help