10485 ipsecesp: cast between incompatible function types

Review Request #1538 - Created March 2, 2019 and submitted

Information
Toomas Soome
illumos-gate
10485
512baca...
Reviewers
general
../../common/inet/ip/ipsecesp.c:135: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)putnext, NULL, ipsecesp_open, ipsecesp_close, NULL, &info,
  ^
../../common/inet/ip/ipsecesp.c:140: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)ipsecesp_wput, NULL, ipsecesp_open, ipsecesp_close, NULL, &info,
  ^
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Gergő Mihály Doma
Toomas Soome
C Fraire
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...