10489 mr_sas: cast between incompatible function types

Review Request #1542 - Created March 2, 2019 and submitted

Information
Toomas Soome
illumos-gate
10489
e4e00a3...
Reviewers
general
../../common/io/mr_sas/mr_sas.c: In function 'mrsas_add_intrs':
../../common/io/mr_sas/mr_sas.c:7355:7: error: cast between incompatible function types from 'uint_t (*)(struct mrsas_instance *)' {aka 'unsigned int (*)(struct mrsas_instance *)'} to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type]
       (ddi_intr_handler_t *)mrsas_isr, (caddr_t)instance,
       ^
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Gergő Mihály Doma
Toomas Soome
Andy Fiddaman
C Fraire
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...