11596 bufmod: cast between incompatible function types
Review Request #2249 — Created Aug. 21, 2019 and submitted — Latest diff uploaded
Information | |
---|---|
tsoome | |
illumos-gate | |
11596 | |
53d1311... | |
Reviewers | |
general | |
../../common/io/bufmod.c:130: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 (*)())sbrput, /* qi_putp */ ^ ../../common/io/bufmod.c:131:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type] (int (*)())sbrsrv, /* qi_srvp */ ^ ../../common/io/bufmod.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] (int (*)())sbwput, /* qi_putp */ ^ cc1: all warnings being treated as errors