From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Andrew Rybchenko <arybchenko@solarflare.com>
Subject: [dpdk-test-report] |WARNING| pw54613 [PATCH 19/29] net/sfc/base: add MCDI wrappers for vPort and vSwitch in EVB
Date: Thu, 13 Jun 2019 15:54:24 +0200 (CEST) [thread overview]
Message-ID: <20190613135424.E75251C4CF@dpdk.org> (raw)
In-Reply-To: <1560152324-20538-20-git-send-email-arybchenko@solarflare.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/54613
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#37: FILE: drivers/net/sfc/base/ef10_evb.c:34:
+ __checkReturn efx_rc_t
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#38: FILE: drivers/net/sfc/base/ef10_evb.c:35:
+efx_mcdi_vswitch_alloc(
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#90: FILE: drivers/net/sfc/base/ef10_evb.c:87:
+ memset(payload, 0, sizeof (payload));
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#101: FILE: drivers/net/sfc/base/ef10_evb.c:98:
+ return (rc);
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#105: FILE: drivers/net/sfc/base/ef10_evb.c:102:
+efx_mcdi_vswitch_free(
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#132: FILE: drivers/net/sfc/base/ef10_evb.c:129:
+ return (rc);
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#136: FILE: drivers/net/sfc/base/ef10_evb.c:133:
+efx_mcdi_vport_alloc(
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#189: FILE: drivers/net/sfc/base/ef10_evb.c:186:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#195: FILE: drivers/net/sfc/base/ef10_evb.c:192:
+ return (rc);
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#199: FILE: drivers/net/sfc/base/ef10_evb.c:196:
+efx_mcdi_vport_free(
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#226: FILE: drivers/net/sfc/base/ef10_evb.c:223:
+ return (rc);
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#230: FILE: drivers/net/sfc/base/ef10_evb.c:227:
+efx_mcdi_vport_mac_addr_add(
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#261: FILE: drivers/net/sfc/base/ef10_evb.c:258:
+ return (rc);
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#265: FILE: drivers/net/sfc/base/ef10_evb.c:262:
+efx_mcdi_vport_mac_addr_del(
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#296: FILE: drivers/net/sfc/base/ef10_evb.c:293:
+ return (rc);
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#300: FILE: drivers/net/sfc/base/ef10_evb.c:297:
+efx_mcdi_port_assign(
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around enp->en_nic_cfg
#308: FILE: drivers/net/sfc/base/ef10_evb.c:305:
+ efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#333: FILE: drivers/net/sfc/base/ef10_evb.c:330:
+ return (rc);
total: 8 errors, 1 warnings, 9 checks, 328 lines checked
parent reply other threads:[~2019-06-13 13:54 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1560152324-20538-20-git-send-email-arybchenko@solarflare.com>]
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=20190613135424.E75251C4CF@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=arybchenko@solarflare.com \
--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).