10484 ipsecah: cast between incompatible function types

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

Information
Toomas Soome
illumos-gate
10484
ef19c0c...
Reviewers
general
../../common/inet/ip/ipsecah.c:154: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, ipsecah_open, ipsecah_close, NULL, &info,
  ^
../../common/inet/ip/ipsecah.c:159: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)ipsecah_wput, NULL, ipsecah_open, ipsecah_close, NULL, &info,
  ^
cc1: all warnings being treated as errors

  

Issues

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

Status: Closed (submitted)

Loading...