IB/iser: Nit - add space after __func__ in iser logging
Change logging: "iser:XXXX" to "iser: XXXX" Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
bba0a3c9d7
commit
e9d49b82f1
|
@ -71,30 +71,30 @@
|
||||||
#define PFX DRV_NAME ": "
|
#define PFX DRV_NAME ": "
|
||||||
#define DRV_VER "1.4.1"
|
#define DRV_VER "1.4.1"
|
||||||
|
|
||||||
#define iser_dbg(fmt, arg...) \
|
#define iser_dbg(fmt, arg...) \
|
||||||
do { \
|
do { \
|
||||||
if (iser_debug_level > 2) \
|
if (iser_debug_level > 2) \
|
||||||
printk(KERN_DEBUG PFX "%s:" fmt,\
|
printk(KERN_DEBUG PFX "%s: " fmt,\
|
||||||
__func__ , ## arg); \
|
__func__ , ## arg); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define iser_warn(fmt, arg...) \
|
#define iser_warn(fmt, arg...) \
|
||||||
do { \
|
do { \
|
||||||
if (iser_debug_level > 0) \
|
if (iser_debug_level > 0) \
|
||||||
pr_warn(PFX "%s:" fmt, \
|
pr_warn(PFX "%s: " fmt, \
|
||||||
__func__ , ## arg); \
|
__func__ , ## arg); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define iser_info(fmt, arg...) \
|
#define iser_info(fmt, arg...) \
|
||||||
do { \
|
do { \
|
||||||
if (iser_debug_level > 1) \
|
if (iser_debug_level > 1) \
|
||||||
pr_info(PFX "%s:" fmt, \
|
pr_info(PFX "%s: " fmt, \
|
||||||
__func__ , ## arg); \
|
__func__ , ## arg); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define iser_err(fmt, arg...) \
|
#define iser_err(fmt, arg...) \
|
||||||
do { \
|
do { \
|
||||||
printk(KERN_ERR PFX "%s:" fmt, \
|
printk(KERN_ERR PFX "%s: " fmt, \
|
||||||
__func__ , ## arg); \
|
__func__ , ## arg); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue