10748 usbms: NULL pointer errors

Review Request #1714 - Created April 12, 2019 and submitted

Information
Toomas Soome
illumos-gate
10748
aa55e59...
Reviewers
general
../../common/io/usb/clients/usbms/usbms.c: In function 'usbms_rserv_vuid_event_wheel':
../../common/io/usb/clients/usbms/usbms.c:644:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    fep->pair = NULL;
              ^
../../common/io/usb/clients/usbms/usbms.c: In function 'usbms_setup_abs_mouse_event':
../../common/io/usb/clients/usbms/usbms.c:2225:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   fep->pair = NULL;
             ^
../../common/io/usb/clients/usbms/usbms.c:2226:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   fep->value = NULL;
              ^
cc1: all warnings being treated as errors

  
Sebastian Wiedenroth
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...