10779 usba: NULL pointer errors

Review Request #1744 — Created April 14, 2019 and submitted — Latest diff uploaded

tsoome
illumos-gate
10779
1c4088a...
general
../../common/io/usb/usba/hcdi.c: In function 'usba_hcdi_cb':
../../common/io/usb/usba/hcdi.c:566:51: error: comparison between pointer and integer [-Werror]
       hcdi_shared_cb_thread, req_wrp, TQ_NOSLEEP) ==
                                                   ^~

../../common/io/usb/usba/usba_devdb.c: In function 'usba_devdb_get_var_type':
../../common/io/usb/usba/usba_devdb.c:122:37: error: comparison between pointer and integer [-Werror]
   if (strcasecmp(cfgvar->name, str) == NULL) {
                                     ^~
cc1: all warnings being treated as errors


Loading...