Commit 32a5342a authored by Paul Menzel's avatar Paul Menzel Committed by Tejun Heo

ata: Guard ata_scsi_dump_cdb() by ATA_VERBOSE_DEBUG

Defining `ATA_DEBUG` nothing can be really seen, as the log is spammed
with CDB messages.

Therefore, guard the print by `ATA_VERBOSE_DEBUG`.
Signed-off-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent bd0038b1
...@@ -4288,10 +4288,10 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd) ...@@ -4288,10 +4288,10 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)
static inline void ata_scsi_dump_cdb(struct ata_port *ap, static inline void ata_scsi_dump_cdb(struct ata_port *ap,
struct scsi_cmnd *cmd) struct scsi_cmnd *cmd)
{ {
#ifdef ATA_DEBUG #ifdef ATA_VERBOSE_DEBUG
struct scsi_device *scsidev = cmd->device; struct scsi_device *scsidev = cmd->device;
DPRINTK("CDB (%u:%d,%d,%lld) %9ph\n", VPRINTK("CDB (%u:%d,%d,%lld) %9ph\n",
ap->print_id, ap->print_id,
scsidev->channel, scsidev->id, scsidev->lun, scsidev->channel, scsidev->id, scsidev->lun,
cmd->cmnd); cmd->cmnd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment