11734 pcic: cast between incompatible function types

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

tsoome
illumos-gate
11734
af23232...
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


andy_js
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...