Print this page
10805 Fix for 10687 can be improved

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ib/clients/rds/rdsib_debug.h
          +++ new/usr/src/uts/common/sys/ib/clients/rds/rdsib_debug.h
↓ open down ↓ 93 lines elided ↑ open up ↑
  94   94  void rds_dprintf5(
  95   95                  char            *name,
  96   96                  char            *fmt, ...);
  97   97  void rds_dprintf4(
  98   98                  char            *name,
  99   99                  char            *fmt, ...);
 100  100  void rds_dprintf3(
 101  101                  char            *name,
 102  102                  char            *fmt, ...);
 103  103  #else
 104      -#define RDS_DPRINTF_INTR(...)
 105      -#define RDS_DPRINTF5(...)
 106      -#define RDS_DPRINTF4(...)
 107      -#define RDS_DPRINTF3(...)
      104 +#define RDS_DPRINTF_INTR(...)   (void)(0)
      105 +#define RDS_DPRINTF5(...)       (void)(0)
      106 +#define RDS_DPRINTF4(...)       (void)(0)
      107 +#define RDS_DPRINTF3(...)       (void)(0)
 108  108  #endif
 109  109  
 110  110  #define RDS_DPRINTF2    rds_dprintf2
 111  111  #define RDS_DPRINTF1    rds_dprintf1
 112  112  #define RDS_DPRINTF0    rds_dprintf0
 113  113  
 114  114  void rds_dprintf2(
 115  115                  char            *name,
 116  116                  char            *fmt, ...);
 117  117  void rds_dprintf1(
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX