summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2018-07-08 10:18:21 +0300
committerTejun Heo <tj@kernel.org>2018-07-12 23:05:43 +0300
commitbb376673ee32c8aaac27c7599eb556db32869792 (patch)
treee67ccd3b9d665717e3490b5d3d4890480ed2ce44 /drivers/ata/libata-core.c
parent32a5342ac19ad07000cfe06e97acf9544cc7cf28 (diff)
downloadlinux-bb376673ee32c8aaac27c7599eb556db32869792.tar.xz
ata: Only output sg element mapped number in verbose debug
Defining `ATA_DEBUG` there are a lof of messages like below in the log. [ 16.345472] ata_sg_setup: 1 sg elements mapped As that is too verbose, only output these messages in verbose debug. Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 27d15ed7fa3d..1e28d054851f 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -5063,7 +5063,7 @@ static int ata_sg_setup(struct ata_queued_cmd *qc)
if (n_elem < 1)
return -1;
- DPRINTK("%d sg elements mapped\n", n_elem);
+ VPRINTK("%d sg elements mapped\n", n_elem);
qc->orig_n_elem = qc->n_elem;
qc->n_elem = n_elem;
qc->flags |= ATA_QCFLAG_DMAMAP;