10421 bofi: cast between incompatible function types

Review Request #1490 - Created Feb. 19, 2019 and submitted

Information
Toomas Soome
illumos-gate
10421
2c653af...
Reviewers
general
../../common/io/bofi.c:3368:19: error: cast between incompatible function types from 'int (*)(char *)' to 'void (*)()' [-Werror=cast-function-type]
    (void) timeout((void (*)())waitfp, arg, 10);
                   ^
../../common/io/bofi.c: In function 'bofi_dma_bindhdl':
../../common/io/bofi.c:3613:18: error: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Werror=cast-function-type]
   (void) timeout((void (*)())dmareqp->dmar_fp,
                  ^
cc1: all warnings being treated as errors

  
Gergő Mihály Doma
Andy Fiddaman
John Levon
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...