10301 pcifm: cast between incompatible function types

Review Request #1394 — Created Jan. 27, 2019 and submitted

tsoome
illumos-gate
10301
4202676...
general
../../common/os/pcifm.c:1495:7: error: cast between incompatible function types from 'void (*)(void *, pci_target_err_t *)' {aka 'void (*)(void *, struct pci_target_err *)'} to 'void (*)(void *, const void *, const errorq_elem_t *)' {aka 'void (*)(void *, const void *, const struct errorq_elem *)'} [-Werror=cast-function-type]
       (errorq_func_t)pci_target_drain, (void *)NULL,
       ^
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...