[dpdk-test-report] |WARNING| pw81512 [PATCH v2 06/62] common/sfc_efx/base: add an MAE limit query API

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 20 11:21:29 CEST 2020


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

_coding style issues_


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

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#200: FILE: drivers/common/sfc_efx/base/efx_mae.c:83:
+	EFSYS_KMEM_FREE(enp->en_esip, sizeof (struct efx_mae_s), enp->en_maep);

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

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

total: 4 errors, 1 warnings, 120 lines checked


More information about the test-report mailing list