10370 sunmdi: cast between incompatible function types

Review Request #1445 — Created Feb. 11, 2019 and submitted

tsoome
illumos-gate
10370
60f6372...
general
../../common/os/sunmdi.c: In function 'mdi_failover':
../../common/os/sunmdi.c:1852:36: error: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Werror=cast-function-type]
   (void) taskq_dispatch(mdi_taskq, (task_func_t *)i_mdi_failover,
                                    ^
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...