summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iscsi_iser.h
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2013-07-28 12:35:36 +0300
committerRoland Dreier <roland@purestorage.com>2013-08-09 17:18:08 -0700
commitf91424cf5b0f22a33dea4ccfb0780ee45517b3c8 (patch)
tree1e0b87875ad47dba8ea16802ddcbbd4822a35f88 /drivers/infiniband/ulp/iser/iscsi_iser.h
parentc095ba7224d8edc71dcef0d655911399a8bd4a3f (diff)
downloadtalos-op-linux-f91424cf5b0f22a33dea4ccfb0780ee45517b3c8.tar.gz
talos-op-linux-f91424cf5b0f22a33dea4ccfb0780ee45517b3c8.zip
IB/iser: Use proper debug level value for info prints
Commit 4f363882612 ("IB/iser: Move informational messages from error to info level") set info prints to be emitted at a lower debug level than warning prints, which is a bit odd. Fix that. Also move the prints on unaligned SG from warning to debug level. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r--drivers/infiniband/ulp/iser/iscsi_iser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h
index 4f069c0d4c04..d694bcd479fe 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.h
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.h
@@ -78,14 +78,14 @@
#define iser_warn(fmt, arg...) \
do { \
- if (iser_debug_level > 1) \
+ if (iser_debug_level > 0) \
pr_warn(PFX "%s:" fmt, \
__func__ , ## arg); \
} while (0)
#define iser_info(fmt, arg...) \
do { \
- if (iser_debug_level > 0) \
+ if (iser_debug_level > 1) \
pr_info(PFX "%s:" fmt, \
__func__ , ## arg); \
} while (0)
OpenPOWER on IntegriCloud