10297 cyclic_mp_init: cast between incompatible function types

Review Request #1390 - Created Jan. 27, 2019 and submitted

Information
Toomas Soome
illumos-gate
10297
fbb32db...
Reviewers
general
../../common/os/cyclic.c: In function 'cyclic_mp_init':
../../common/os/cyclic.c:3164:26: error: cast between incompatible function types from 'int (*)(cpu_setup_t,  int)' {aka 'int (*)(enum <anonymous>,  int)'} to 'int (*)(cpu_setup_t,  int,  void *)' {aka 'int (*)(enum <anonymous>,  int,  void *)'} [-Werror=cast-function-type]
  register_cpu_setup_func((cpu_setup_func_t *)cyclic_cpu_setup, NULL);
                          ^
cc1: all warnings being treated as errors

  
C Fraire
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...