* [dpdk-test-report] |WARNING| pw94494 [PATCH v3 13/20] common/sfc_efx/base: add counter creation MCDI wrappers
[not found] <20210618134032.1922012-14-andrew.rybchenko@oktetlabs.ru>
@ 2021-06-18 13:43 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-06-18 13:43 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/94494
_coding style issues_
WARNING:TYPO_SPELLING: 'allocatedp' may be misspelled - perhaps 'allocated'?
#117: FILE: drivers/common/sfc_efx/base/efx.h:4427:
+ __out uint32_t *n_allocatedp,
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#171: FILE: drivers/common/sfc_efx/base/efx_mae.c:2383:
+ return (rc);
WARNING:TYPO_SPELLING: 'allocatedp' may be misspelled - perhaps 'allocated'?
#178: FILE: drivers/common/sfc_efx/base/efx_mae.c:2390:
+ __out uint32_t *n_allocatedp,
WARNING:TYPO_SPELLING: 'allocatedp' may be misspelled - perhaps 'allocated'?
#236: FILE: drivers/common/sfc_efx/base/efx_mae.c:2448:
+ *n_allocatedp = n_allocated;
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#238: FILE: drivers/common/sfc_efx/base/efx_mae.c:2450:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#249: FILE: drivers/common/sfc_efx/base/efx_mae.c:2461:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#316: FILE: drivers/common/sfc_efx/base/efx_mae.c:2528:
+ return (0);
total: 4 errors, 3 warnings, 253 lines checked
^ permalink raw reply [flat|nested] only message in thread