[dpdk-test-report] |WARNING| pw93891 [PATCH v2 13/20] common/sfc_efx/base: add counter creation MCDI wrappers

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 4 16:26:46 CEST 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'allocatedp' may be misspelled - perhaps 'allocated'?
#116: FILE: drivers/common/sfc_efx/base/efx.h:4445:
+	__out				uint32_t *n_allocatedp,

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

WARNING:TYPO_SPELLING: 'allocatedp' may be misspelled - perhaps 'allocated'?
#177: FILE: drivers/common/sfc_efx/base/efx_mae.c:2621:
+	__out				uint32_t *n_allocatedp,

WARNING:TYPO_SPELLING: 'allocatedp' may be misspelled - perhaps 'allocated'?
#235: FILE: drivers/common/sfc_efx/base/efx_mae.c:2679:
+	*n_allocatedp = n_allocated;

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

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

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

total: 4 errors, 3 warnings, 253 lines checked


More information about the test-report mailing list