[dpdk-test-report] |WARNING| pw81484 [PATCH 35/62] common/sfc_efx/base: add an API to get MPORT of a PF/VF

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


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

_coding style issues_


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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#167: FILE: drivers/common/sfc_efx/base/efx_mae.c:392:
+	memset(mportp, 0, sizeof (*mportp));

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

total: 2 errors, 1 warnings, 72 lines checked


More information about the test-report mailing list