Print this page
10805 Fix for 10687 can be improved

*** 35,45 **** #if defined(DEBUG) #define PCIEB_DEBUG pcieb_dbg extern void pcieb_dbg(uint_t bit, dev_info_t *dip, char *fmt, ...); #else /* DEBUG */ ! #define PCIEB_DEBUG(...) #endif /* DEBUG */ typedef enum { /* same sequence as pcieb_debug_sym[] */ /* 0 */ DBG_ATTACH, /* 1 */ DBG_PWR, --- 35,45 ---- #if defined(DEBUG) #define PCIEB_DEBUG pcieb_dbg extern void pcieb_dbg(uint_t bit, dev_info_t *dip, char *fmt, ...); #else /* DEBUG */ ! #define PCIEB_DEBUG(...) (void)(0) #endif /* DEBUG */ typedef enum { /* same sequence as pcieb_debug_sym[] */ /* 0 */ DBG_ATTACH, /* 1 */ DBG_PWR,