Actions
Bug #13779
closedsu: cast between incompatible function types
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build error on SPARC with gcc 10:
../../sun4/io/su_driver.c:219:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type] 219 | (int (*)())asyrsrv, | ^ ../../sun4/io/su_driver.c:228: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] 228 | (int (*)())asywput, | ^ cc1: all warnings being treated as errors
Testing done: build/install/boot
Actions