11734 pcic: cast between incompatible function types

Review Request #2338 - Created Sept. 20, 2019 and submitted

Information
Toomas Soome
illumos-gate
11734
af23232...
Reviewers
general
../../common/io/pcic.c: In function 'pcic_set_interrupt':
../../common/io/pcic.c:4747:7: error: cast between incompatible function types from 'int (*)(int,  ...)' to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type]
       (ddi_intr_handler_t *)handler->handler;
       ^
../../common/io/pcic.c:4760:16: error: cast between incompatible function types from 'int (*)(int,  ...)' to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type]
   intr->intr = (ddi_intr_handler_t *)handler->handler;
                ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...