Actions
Bug #13591
closedbnxe: implicit conversion from 'enum <anonymous>' to 'lm_status_t'
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Build errors with gcc 10:
../../common/io/bnxe/bnxe_hw.c: In function 'BnxeRssDisable': ../../common/io/bnxe/bnxe_hw.c:149:47: error: implicit conversion from 'enum <anonymous>' to 'lm_s tatus_t' [-Werror=enum-conversion] 149 | return (rc == LM_STATUS_SUCCESS) ? B_TRUE : B_FALSE; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ cc1: all warnings being treated as errors *** Error code 1 dmake: Warning: Command failed for target `obj64/bnxe_hw.o' Current working directory /code/illumos-gate/usr/src/uts/intel/bnxe
Testing done: build/install/boot. The return value from BnxeRssDisable() is never checked in current code.
Actions