11802 xencons: cast between incompatible function types

Review Request #2388 - Created Oct. 10, 2019 and submitted

Information
Toomas Soome
illumos-gate
11802
2a6b7d3...
Reviewers
general
../../common/xen/io/xencons.c:165:37: 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]
   (void) add_avintr(NULL, IPL_CONS, (avfunc)xenconsintr_priv,
                                     ^
../../common/xen/io/xencons.c:175:37: 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]
   (void) rem_avintr(NULL, IPL_CONS, (avfunc)xenconsintr_priv,
                                     ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...