* [dpdk-test-report] |WARNING| pw81444 [PATCH 04/62] common/sfc_efx/base: add MAE init/fini APIs
[not found] <1603183709-23420-5-git-send-email-arybchenko@solarflare.com>
@ 2020-10-20 8:50 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-10-20 8:50 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/81444
_coding style issues_
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#191: FILE: drivers/common/sfc_efx/base/efx_mae.c:26:
+ EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*maep), maep);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#199: FILE: drivers/common/sfc_efx/base/efx_mae.c:34:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#205: FILE: drivers/common/sfc_efx/base/efx_mae.c:40:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#218: FILE: drivers/common/sfc_efx/base/efx_mae.c:53:
+ EFSYS_KMEM_FREE(enp->en_esip, sizeof (*maep), maep);
total: 2 errors, 2 warnings, 115 lines checked
^ permalink raw reply [flat|nested] only message in thread