|WARNING| pw128059 [PATCH v3 31/34] common/sfc_efx/base: rework MAE counter provisioning helpers

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 5 01:29:18 CEST 2023


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

_coding style issues_


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

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

WARNING:TYPO_SPELLING: 'allocatedp' may be misspelled - perhaps 'allocated'?
#287: FILE: drivers/common/sfc_efx/base/efx_mae.c:3364:
+					 n_counters, n_allocatedp,

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

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

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

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

total: 4 errors, 3 warnings, 329 lines checked


More information about the test-report mailing list