10418 chxge: cast between incompatible function types
Review Request #1487 — Created Feb. 19, 2019 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
10418 | |
4bca61d... | |
Reviewers | |
general | |
../../common/io/chxge/com/my3126.c: In function 'my3126_phy_create': ../../common/io/chxge/com/my3126.c:209:5: error: cast between incompatible function types from 'int (*)(struct cphy *)' to 'void (*)(void *)' [-Werror=cast-function-type] (void (*)(void *))my3126_interrupt_handler, ^ cc1: all warnings being treated as errors
-
-
usr/src/uts/common/io/chxge/com/my3126.c (Diff revision 1) Is the red-highlighted whitespace a style nit? Otherwise LGTM.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+36 -31) |