[dpdk-test-report] |WARNING| pw81480 [PATCH 14/62] common/sfc_efx/base: add action set spec init/fini APIs
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Oct 20 11:03:26 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/81480
_coding style issues_
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#173: FILE: drivers/common/sfc_efx/base/efx_mae.c:445:
+ EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*spec), spec);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#181: FILE: drivers/common/sfc_efx/base/efx_mae.c:453:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#185: FILE: drivers/common/sfc_efx/base/efx_mae.c:457:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#193: FILE: drivers/common/sfc_efx/base/efx_mae.c:465:
+ EFSYS_KMEM_FREE(enp->en_esip, sizeof (*spec), spec);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#201: FILE: drivers/common/sfc_efx/base/efx_mae.c:473:
+ return ((memcmp(left, right, sizeof (*left)) == 0) ? B_TRUE : B_FALSE);
total: 2 errors, 3 warnings, 89 lines checked
More information about the test-report
mailing list