Print this page
10805 Fix for 10687 can be improved

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ib/clients/rdsv3/rdsv3_debug.h
          +++ new/usr/src/uts/common/sys/ib/clients/rdsv3/rdsv3_debug.h
↓ open down ↓ 92 lines elided ↑ open up ↑
  93   93  void rdsv3_dprintf5(
  94   94                  char            *name,
  95   95                  char            *fmt, ...);
  96   96  void rdsv3_dprintf4(
  97   97                  char            *name,
  98   98                  char            *fmt, ...);
  99   99  void rdsv3_dprintf3(
 100  100                  char            *name,
 101  101                  char            *fmt, ...);
 102  102  #else
 103      -#define RDSV3_DPRINTF_INTR(...)
 104      -#define RDSV3_DPRINTF5(...)
 105      -#define RDSV3_DPRINTF4(...)
 106      -#define RDSV3_DPRINTF3(...)
      103 +#define RDSV3_DPRINTF_INTR(...) (void)(0)
      104 +#define RDSV3_DPRINTF5(...)     (void)(0)
      105 +#define RDSV3_DPRINTF4(...)     (void)(0)
      106 +#define RDSV3_DPRINTF3(...)     (void)(0)
 107  107  #endif
 108  108  
 109  109  #define RDSV3_DPRINTF2          rdsv3_dprintf2
 110  110  #define RDSV3_DPRINTF1          rdsv3_dprintf1
 111  111  #define RDSV3_DPRINTF0          rdsv3_dprintf0
 112  112  
 113  113  void rdsv3_dprintf2(
 114  114                  char            *name,
 115  115                  char            *fmt, ...);
 116  116  void rdsv3_dprintf1(
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX