[dpdk-test-report] |WARNING| pw81534 [PATCH v2 14/62] common/sfc_efx/base: add action set spec init/fini APIs

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


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

_coding style issues_


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

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

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

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#202: FILE: drivers/common/sfc_efx/base/efx_mae.c:473:
+	return ((memcmp(left, right, sizeof (*left)) == 0) ? B_TRUE : B_FALSE);

total: 2 errors, 3 warnings, 89 lines checked


More information about the test-report mailing list