summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_internal.h
diff options
context:
space:
mode:
authorJames Bottomley2011-01-23 15:19:00 +0100
committerJames Bottomley2011-01-24 19:05:38 +0100
commit96db6fa992570bfa46da8428fa466ee6b18e39d6 (patch)
treee0a4a7ce562ba967850bad259b4952a738f0093f /drivers/scsi/libsas/sas_internal.h
parent[SCSI] libsas: fix ATAPI check condition termination (diff)
downloadkernel-qcow2-linux-96db6fa992570bfa46da8428fa466ee6b18e39d6.tar.gz
kernel-qcow2-linux-96db6fa992570bfa46da8428fa466ee6b18e39d6.tar.xz
kernel-qcow2-linux-96db6fa992570bfa46da8428fa466ee6b18e39d6.zip
[SCSI] libsas: convert to standard kernel debugging
Instead of using a config option for debugging, just dump the messages with KERN_DEBUG. Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libsas/sas_internal.h')
-rw-r--r--drivers/scsi/libsas/sas_internal.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/scsi/libsas/sas_internal.h b/drivers/scsi/libsas/sas_internal.h
index 0001374bd6b2..8b538bd1ff2b 100644
--- a/drivers/scsi/libsas/sas_internal.h
+++ b/drivers/scsi/libsas/sas_internal.h
@@ -33,11 +33,7 @@
#define sas_printk(fmt, ...) printk(KERN_NOTICE "sas: " fmt, ## __VA_ARGS__)
-#ifdef SAS_DEBUG
-#define SAS_DPRINTK(fmt, ...) printk(KERN_NOTICE "sas: " fmt, ## __VA_ARGS__)
-#else
-#define SAS_DPRINTK(fmt, ...)
-#endif
+#define SAS_DPRINTK(fmt, ...) printk(KERN_DEBUG "sas: " fmt, ## __VA_ARGS__)
#define TO_SAS_TASK(_scsi_cmd) ((void *)(_scsi_cmd)->host_scribble)
#define ASSIGN_SAS_TASK(_sc, _t) do { (_sc)->host_scribble = (void *) _t; } while (0)