* [dpdk-test-report] |WARNING| pw81480 [PATCH 14/62] common/sfc_efx/base: add action set spec init/fini APIs
[not found] <1603183709-23420-15-git-send-email-arybchenko@solarflare.com>
@ 2020-10-20 9:03 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-10-20 9:03 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
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
^ permalink raw reply [flat|nested] only message in thread