Print this page
10805 Fix for 10687 can be improved

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ib/ibtl/impl/ibtl_util.h
          +++ new/usr/src/uts/common/sys/ib/ibtl/impl/ibtl_util.h
↓ open down ↓ 125 lines elided ↑ open up ↑
 126  126  void ibtl_dprintf5(
 127  127                  char            *name,
 128  128                  char            *fmt, ...);
 129  129  void ibtl_dprintf4(
 130  130                  char            *name,
 131  131                  char            *fmt, ...);
 132  132  void ibtl_dprintf3(
 133  133                  char            *name,
 134  134                  char            *fmt, ...);
 135  135  #else
 136      -#define IBTF_DPRINTF_LINTR(...)
 137      -#define IBTF_DPRINTF_L5(...)
 138      -#define IBTF_DPRINTF_L4(...)
 139      -#define IBTF_DPRINTF_L3(...)
      136 +#define IBTF_DPRINTF_LINTR(...) (void)(0)
      137 +#define IBTF_DPRINTF_L5(...)    (void)(0)
      138 +#define IBTF_DPRINTF_L4(...)    (void)(0)
      139 +#define IBTF_DPRINTF_L3(...)    (void)(0)
 140  140  #endif
 141  141  
 142  142  #define IBTF_DPRINTF_L2 ibtl_dprintf2
 143  143  #define IBTF_DPRINTF_L1 ibtl_dprintf1
 144  144  #define IBTF_DPRINTF_L0 ibtl_dprintf0
 145  145  
 146  146  void ibtl_dprintf2(
 147  147                  char            *name,
 148  148                  char            *fmt, ...);
 149  149  void ibtl_dprintf1(
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX