Print this page
10805 Fix for 10687 can be improved

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ib/clients/eoib/enx_impl.h
          +++ new/usr/src/uts/common/sys/ib/clients/eoib/enx_impl.h
↓ open down ↓ 67 lines elided ↑ open up ↑
  68   68  #define ENX_LOGSZ_DEFAULT       0x20000
  69   69  
  70   70  #define ENX_DPRINTF_CRIT        eibnx_dprintf_crit
  71   71  #define ENX_DPRINTF_ERR         eibnx_dprintf_err
  72   72  #define ENX_DPRINTF_WARN        eibnx_dprintf_warn
  73   73  #ifdef ENX_DEBUG
  74   74  #define ENX_DPRINTF_DEBUG       eibnx_dprintf_debug
  75   75  #define ENX_DPRINTF_ARGS        eibnx_dprintf_args
  76   76  #define ENX_DPRINTF_VERBOSE     eibnx_dprintf_verbose
  77   77  #else
  78      -#define ENX_DPRINTF_DEBUG(...)
  79      -#define ENX_DPRINTF_ARGS(...)
  80      -#define ENX_DPRINTF_VERBOSE(...)
       78 +#define ENX_DPRINTF_DEBUG(...)  (void)(0)
       79 +#define ENX_DPRINTF_ARGS(...)   (void)(0)
       80 +#define ENX_DPRINTF_VERBOSE(...) (void)(0)
  81   81  #endif
  82   82  
  83   83  /*
  84   84   *  EoIB Nexus service threads
  85   85   */
  86   86  #define ENX_PORT_MONITOR        "eibnx_port_%d_monitor"
  87   87  #define ENX_NODE_CREATOR        "eibnx_node_creator"
  88   88  
  89   89  /*
  90   90   * Default period (us) for unicast solicitations to discovered gateways.
↓ open down ↓ 446 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX