From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Ivan Malov <ivan.malov@arknetworks.am>
Subject: |WARNING| pw153106 [PATCH v2 23/45] common/sfc_efx/base: get netport fixed capabilities on probe
Date: Wed, 23 Apr 2025 18:07:40 +0200 (CEST) [thread overview]
Message-ID: <20250423160740.416211251C3@dpdk.org> (raw)
In-Reply-To: <20250423160002.35706-24-ivan.malov@arknetworks.am>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/153106
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#126: FILE: drivers/common/sfc_efx/base/efx_np.c:81:
+ return (rc);
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#227: FILE: drivers/common/sfc_efx/base/efx_np.c:182:
+#define FOREACH_SUP_CAP(_map, _map_nentries, _data, _data_nbytes) \
+ for (unsigned int _i = 0; _i < (_map_nentries); ++_i, ++(_map)) \
+ if (CAP_VLD(_map, _data_nbytes) && CAP_SUP(_map, _data))
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#316: FILE: drivers/common/sfc_efx/base/efx_np.c:271:
+ return (0);
total: 3 errors, 0 warnings, 256 lines checked
parent reply other threads:[~2025-04-23 16:08 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20250423160002.35706-24-ivan.malov@arknetworks.am>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250423160740.416211251C3@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=ivan.malov@arknetworks.am \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).