10748 usbms: NULL pointer errors

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

tsoome
illumos-gate
10748
aa55e59...
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


wiedi
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...