11592 sdp: cast between incompatible function types

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

Information
Toomas Soome
illumos-gate
11592
7815d9b...
Reviewers
general
../../common/io/ib/clients/sdp/sdpddi.c:283: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]
  (pfi_t)sdp_gen_wput, NULL,  (pfi_t)sdp_gen_open,  (pfi_t)sdp_gen_close,
  ^
cc1: all warnings being treated as errors

  
Yuri Pankov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...