Actions
Bug #10489
closedmr_sas: cast between incompatible function types
Start date:
2019-03-02
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Build error with gcc 8:
../../common/io/mr_sas/mr_sas.c: In function 'mrsas_add_intrs': ../../common/io/mr_sas/mr_sas.c:7355:7: error: cast between incompatible function types from 'uint_t (*)(struct mrsas_instance *)' {aka 'unsigned int (*)(struct mrsas_instance *)'} to 'uint_t (*)(char *, char *)' {aka 'unsigned int (*)(char *, char *)'} [-Werror=cast-function-type] (ddi_intr_handler_t *)mrsas_isr, (caddr_t)instance, ^ cc1: all warnings being treated as errors
Updated by Electric Monk about 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit ff2c0cbf8b71c56c475188b2be1d96686bc645e9
commit ff2c0cbf8b71c56c475188b2be1d96686bc645e9 Author: Toomas Soome <tsoome@me.com> Date: 2019-03-15T20:47:04.000Z 10489 mr_sas: cast between incompatible function types Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions