diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_tools.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_tools.h b/drivers/infiniband/hw/ehca/ehca_tools.h index 57c77a715f46..f9b264b46970 100644 --- a/drivers/infiniband/hw/ehca/ehca_tools.h +++ b/drivers/infiniband/hw/ehca/ehca_tools.h | |||
@@ -98,15 +98,12 @@ extern int ehca_debug_level; | |||
98 | } while (0) | 98 | } while (0) |
99 | 99 | ||
100 | #define ehca_gen_warn(format, arg...) \ | 100 | #define ehca_gen_warn(format, arg...) \ |
101 | do { \ | 101 | printk(KERN_INFO "PU%04x EHCA_WARN:%s " format "\n", \ |
102 | if (unlikely(ehca_debug_level)) \ | 102 | get_paca()->paca_index, __FUNCTION__, ## arg) |
103 | printk(KERN_INFO "PU%04x EHCA_WARN:%s " format "\n", \ | ||
104 | get_paca()->paca_index, __FUNCTION__, ## arg); \ | ||
105 | } while (0) | ||
106 | 103 | ||
107 | #define ehca_gen_err(format, arg...) \ | 104 | #define ehca_gen_err(format, arg...) \ |
108 | printk(KERN_ERR "PU%04x EHCA_ERR:%s " format "\n", \ | 105 | printk(KERN_ERR "PU%04x EHCA_ERR:%s " format "\n", \ |
109 | get_paca()->paca_index, __FUNCTION__, ## arg) | 106 | get_paca()->paca_index, __FUNCTION__, ## arg) |
110 | 107 | ||
111 | /** | 108 | /** |
112 | * ehca_dmp - printk a memory block, whose length is n*8 bytes. | 109 | * ehca_dmp - printk a memory block, whose length is n*8 bytes. |