11722 usbwcm: cast between incompatible function types

Review Request #2326 — Created Sept. 20, 2019 and submitted

tsoome
illumos-gate
11722
83828e5...
general
../../common/io/usb/clients/usbinput/usbwcm/usbwcm.c:1618:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)())usbwcm_rput, /* put procedure not needed */
  ^
cc1: all warnings being treated as errors


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
citrus
tsoome
citrus
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...