[dpdk-test-report] |WARNING| pw80529 [PATCH 29/36] common/sfc_efx/base: provide helper to check Rx prefix
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Oct 13 15:54:08 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/80529
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#147: FILE: drivers/common/sfc_efx/base/efx_rx.c:1821:
+ return (B_TRUE);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#158: FILE: drivers/common/sfc_efx/base/efx_rx.c:1832:
+ EFX_STATIC_ASSERT(EFX_RX_PREFIX_NFIELDS < sizeof (result) * 8);
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#158: FILE: drivers/common/sfc_efx/base/efx_rx.c:1832:
+ EFX_STATIC_ASSERT(EFX_RX_PREFIX_NFIELDS < sizeof (result) * 8);
total: 1 errors, 2 warnings, 68 lines checked
More information about the test-report
mailing list