|WARNING| pw128010 [PATCH v2 21/34] common/sfc_efx/base: provide an API to clone MAE match specs

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Jun 4 02:06:24 CEST 2023


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128010

_coding style issues_


ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#98: FILE: drivers/common/sfc_efx/base/efx_mae.c:1168:
+	return (rc);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#110: 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 '('
#116: 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
#120: FILE: drivers/common/sfc_efx/base/efx_mae.c:1190:
+	return (0);

total: 2 errors, 2 warnings, 52 lines checked


More information about the test-report mailing list