summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe_sysfs.c
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2012-11-27 07:53:24 +0100
committerRobert Love <robert.w.love@intel.com>2012-12-14 19:38:54 +0100
commit3993de6183885a099163b9562a2ea9c07b994a0e (patch)
tree9953a7fc4ce080923d9b7070d7b6c48819c14639 /drivers/scsi/fcoe/fcoe_sysfs.c
parentlibfcoe: Save some memory and optimize name lookups (diff)
downloadlinux-3993de6183885a099163b9562a2ea9c07b994a0e.tar.xz
linux-3993de6183885a099163b9562a2ea9c07b994a0e.zip
libfcoe: Add fcoe_sysfs debug logging level
Add a macro to print fcoe_sysfs debug statements. Signed-off-by: Robert Love <robert.w.love@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe_sysfs.c')
-rw-r--r--drivers/scsi/fcoe/fcoe_sysfs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/fcoe_sysfs.c b/drivers/scsi/fcoe/fcoe_sysfs.c
index e6fce2862a33..9c74374b53cd 100644
--- a/drivers/scsi/fcoe/fcoe_sysfs.c
+++ b/drivers/scsi/fcoe/fcoe_sysfs.c
@@ -24,6 +24,13 @@
#include <scsi/fcoe_sysfs.h>
+/*
+ * OK to include local libfcoe.h for debug_logging, but cannot include
+ * <scsi/libfcoe.h> otherwise non-netdev based fcoe solutions would have
+ * have to include more than fcoe_sysfs.h.
+ */
+#include "libfcoe.h"
+
static atomic_t ctlr_num;
static atomic_t fcf_num;