* [dpdk-test-report] |WARNING| pw88938 [PATCH 5/8] common/sfc_efx/base: add support to verify virtio features
[not found] <20210311110325.3291203-6-andrew.rybchenko@oktetlabs.ru>
@ 2021-03-11 11:05 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-03-11 11:05 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/88938
_coding style issues_
WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_nic_t *' should also have an identifier name
#98: FILE: drivers/common/sfc_efx/base/efx_impl.h:323:
+ efx_rc_t (*evo_verify_features)(efx_nic_t *,
WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_device_type_t' should also have an identifier name
#98: FILE: drivers/common/sfc_efx/base/efx_impl.h:323:
+ efx_rc_t (*evo_verify_features)(efx_nic_t *,
WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint64_t' should also have an identifier name
#98: FILE: drivers/common/sfc_efx/base/efx_impl.h:323:
+ efx_rc_t (*evo_verify_features)(efx_nic_t *,
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#141: FILE: drivers/common/sfc_efx/base/efx_virtio.c:325:
+ if ((rc = evop->evo_verify_features(enp, type, features)) != 0)
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#144: FILE: drivers/common/sfc_efx/base/efx_virtio.c:328:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#153: FILE: drivers/common/sfc_efx/base/efx_virtio.c:337:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#224: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:376:
+ return (rc);
total: 4 errors, 3 warnings, 137 lines checked
^ permalink raw reply [flat|nested] only message in thread