* |WARNING| pw128942 [PATCH v7 3/4] common/sfc_efx/base: add support to enable VLAN stripping
[not found] <20230622151123.275873-4-artemii.morozov@arknetworks.am>
@ 2023-06-22 15:12 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-06-22 15:12 UTC (permalink / raw)
To: test-report; +Cc: Artemii Morozov
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128942
_coding style issues_
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#164: FILE: drivers/common/sfc_efx/base/efx_port.c:224:
+ if ((rc = efx_filter_get_count(enp, &filters_count)) != 0)
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#174: FILE: drivers/common/sfc_efx/base/efx_port.c:234:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#183: FILE: drivers/common/sfc_efx/base/efx_port.c:243:
+ return (rc);
total: 3 errors, 0 warnings, 135 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-22 15:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230622151123.275873-4-artemii.morozov@arknetworks.am>
2023-06-22 15:12 ` |WARNING| pw128942 [PATCH v7 3/4] common/sfc_efx/base: add support to enable VLAN stripping checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).