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

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Jun 4 02:05:52 CEST 2023


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

_coding style issues_


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

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

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

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

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

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

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

total: 4 errors, 3 warnings, 329 lines checked


More information about the test-report mailing list