10298 pcmcia: cast between incompatible function types

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

Information
Toomas Soome
illumos-gate
10298
2d650d8...
Reviewers
general
../../common/pcmcia/cs/cs_stubs.c: In function 'csx_register_cardservices':
../../common/pcmcia/cs/cs_stubs.c:157:18: error: cast between incompatible function types from 'int (*)(void)' to 'int32_t (*)(int32_t,  ...)' {aka 'int (*)(int,  ...)'} [-Werror=cast-function-type]
   cardservices = (csfunction_t *)cs_no_carservices;
                  ^

  
C Fraire
Toomas Soome
Andrew Stormont
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...