10483 aac: cast between incompatible function types

Review Request #1536 - Created March 1, 2019 and submitted

Information
Toomas Soome
illumos-gate
10483
56884da...
Reviewers
general
../../common/io/aac/aac.c: In function 'aac_add_intrs':
../../common/io/aac/aac.c:1676:13: error: cast between incompatible function types from 'uint_t (*)(char *)' {aka 'unsigned int (*)(char *)'} to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type]
  aac_intr = (ddi_intr_handler_t *)((softs->flags & AAC_FLAGS_NEW_COMM) ?
             ^
cc1: all warnings being treated as errors

  
Gergő Mihály Doma
C Fraire
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...