]> err.no Git - linux-2.6/commitdiff
IB/ehca: ehca_gen_warn() should always print
authorJoachim Fenkes <fenkes@de.ibm.com>
Tue, 11 Sep 2007 13:32:50 +0000 (15:32 +0200)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:10 +0000 (19:59 -0700)
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_tools.h

index 57c77a715f462a3f8c6127b1fbcf4c5821655a3a..f9b264b469709c13047460d0d10f21a2a45bce61 100644 (file)
@@ -98,15 +98,12 @@ extern int ehca_debug_level;
        } while (0)
 
 #define ehca_gen_warn(format, arg...) \
-       do { \
-               if (unlikely(ehca_debug_level)) \
-                       printk(KERN_INFO "PU%04x EHCA_WARN:%s " format "\n", \
-                              get_paca()->paca_index, __FUNCTION__, ## arg); \
-       } while (0)
+       printk(KERN_INFO "PU%04x EHCA_WARN:%s " format "\n", \
+              get_paca()->paca_index, __FUNCTION__, ## arg)
 
 #define ehca_gen_err(format, arg...) \
        printk(KERN_ERR "PU%04x EHCA_ERR:%s " format "\n", \
-               get_paca()->paca_index, __FUNCTION__, ## arg)
+              get_paca()->paca_index, __FUNCTION__, ## arg)
 
 /**
  * ehca_dmp - printk a memory block, whose length is n*8 bytes.