11723 cryptmod: cast between incompatible function types

Review Request #2327 — Created Sept. 20, 2019 and submitted

tsoome
illumos-gate
11723
9de6770...
general
../../common/io/cryptmod.c:93: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 (*)())cryptmodrput, /* qi_putp */
  ^
../../common/io/cryptmod.c:103: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 (*)())cryptmodwput, /* qi_putp */
  ^
cc1: all warnings being treated as errors


citrus
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...