From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Ivan Malov <ivan.malov@arknetworks.am>
Subject: |WARNING| pw128049 [PATCH v3 21/34] common/sfc_efx/base: provide an API to clone MAE match specs
Date: Mon, 5 Jun 2023 01:29:49 +0200 (CEST) [thread overview]
Message-ID: <20230604232949.E3BAB12092A@dpdk.org> (raw)
In-Reply-To: <20230604232523.6746-22-ivan.malov@arknetworks.am>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128049
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#97: FILE: drivers/common/sfc_efx/base/efx_mae.c:1168:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#109: FILE: drivers/common/sfc_efx/base/efx_mae.c:1180:
+ EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*clone), clone);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#115: FILE: drivers/common/sfc_efx/base/efx_mae.c:1186:
+ memcpy(clone, orig, sizeof (efx_mae_match_spec_t));
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#119: FILE: drivers/common/sfc_efx/base/efx_mae.c:1190:
+ return (0);
total: 2 errors, 2 warnings, 52 lines checked
parent reply other threads:[~2023-06-04 23:29 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20230604232523.6746-22-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=20230604232949.E3BAB12092A@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).