diff options
author | Hannes Reinecke <hare@suse.de> | 2014-10-24 16:27:01 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 13:16:05 +0300 |
commit | c11c004b1c052fae77d3d0d14462d1f3a4e88d06 (patch) | |
tree | 8d04177220b7da556c33f10d1193f19b304f292c /drivers/scsi/scsi_logging.h | |
parent | ef61329db7b8b4326b1c4e603806b2754fd2a692 (diff) | |
download | linux-c11c004b1c052fae77d3d0d14462d1f3a4e88d06.tar.xz |
scsi: simplify scsi_log_(send|completion)
Simplify scsi_log_(send|completion) by externalizing
scsi_mlreturn_string() and always print the command address.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/scsi_logging.h')
-rw-r--r-- | drivers/scsi/scsi_logging.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_logging.h b/drivers/scsi/scsi_logging.h index 1f65139e14f8..7fe64a847143 100644 --- a/drivers/scsi/scsi_logging.h +++ b/drivers/scsi/scsi_logging.h @@ -51,6 +51,7 @@ do { \ } while (0); \ } while (0) #else +#define SCSI_LOG_LEVEL(SHIFT, BITS) 0 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) #endif /* CONFIG_SCSI_LOGGING */ |