11733 acpica: cast between incompatible function types

Review Request #2337 - Created Sept. 20, 2019 and submitted

Information
Toomas Soome
illumos-gate
11733
2439611...
Reviewers
general
../../intel/io/acpica/osl.c: In function 'AcpiOsInstallInterruptHandler':
../../intel/io/acpica/osl.c:679: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]
  retval = add_avintr(NULL, SCI_IPL, (avfunc)acpi_wrapper_isr,
                                     ^
../../intel/io/acpica/osl.c: In function 'AcpiOsRemoveInterruptHandler':
../../intel/io/acpica/osl.c:698:36: 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]
   rem_avintr(NULL, LOCK_LEVEL - 1, (avfunc)acpi_wrapper_isr,
                                    ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...