* |WARNING| pw128049 [PATCH v3 21/34] common/sfc_efx/base: provide an API to clone MAE match specs
[not found] <20230604232523.6746-22-ivan.malov@arknetworks.am>
@ 2023-06-04 23:29 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-06-04 23:29 UTC (permalink / raw)
To: test-report; +Cc: Ivan Malov
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128049
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#97: FILE: drivers/common/sfc_efx/base/efx_mae.c:1168:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#109: FILE: drivers/common/sfc_efx/base/efx_mae.c:1180:
+ EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*clone), clone);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#115: FILE: drivers/common/sfc_efx/base/efx_mae.c:1186:
+ memcpy(clone, orig, sizeof (efx_mae_match_spec_t));
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#119: FILE: drivers/common/sfc_efx/base/efx_mae.c:1190:
+ return (0);
total: 2 errors, 2 warnings, 52 lines checked
^ permalink raw reply [flat|nested] only message in thread