[dpdk-test-report] |WARNING| pw81453 [PATCH 08/62] common/sfc_efx/base: add match spec init/fini APIs

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 20 10:53:49 CEST 2020


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#189: FILE: drivers/common/sfc_efx/base/efx_mae.c:147:
+	EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*spec), spec);

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

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#214: FILE: drivers/common/sfc_efx/base/efx_mae.c:172:
+	EFSYS_KMEM_FREE(enp->en_esip, sizeof (*spec), spec);

total: 2 errors, 2 warnings, 101 lines checked


More information about the test-report mailing list