11598 pfmod: cast between incompatible function types

Review Request #2251 - Created Aug. 21, 2019 and submitted

Information
Toomas Soome
illumos-gate
11598
5696a0f...
Reviewers
general
../../common/io/pfmod.c:107:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)())pfrput, /* qi_putp */
  ^
../../common/io/pfmod.c:117:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
  (int (*)())pfwput, /* qi_putp */
  ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Toomas Soome
Toomas Soome
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...