From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Andrew Rybchenko <arybchenko@solarflare.com>
Subject: [dpdk-test-report] |WARNING| pw78304 [PATCH 49/60] common/sfc_efx/base: introduce states for UDP tunnel entries
Date: Tue, 22 Sep 2020 11:01:21 +0200 (CEST) [thread overview]
Message-ID: <20200922090121.940BC1DCE0@dpdk.org> (raw)
In-Reply-To: <1600764594-14752-50-git-send-email-arybchenko@solarflare.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/78304
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#229: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:90:
+ return (B_FALSE);
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#247: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:112:
+ if (etcp != NULL) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#248: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:113:
+ for (i = 0; i < etcp->etc_udp_entries_num; i++) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#249: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:114:
+ if (ef10_entry_staged(&etcp->etc_udp_entries[i]) !=
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#266: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:140:
+ while (ef10_entry_staged(&etcp->etc_udp_entries[i]) == B_FALSE)
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#295: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:349:
+ etcp->etc_udp_entries[etcp->etc_udp_entries_num].etue_state =
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#295: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:349:
+ etcp->etc_udp_entries[etcp->etc_udp_entries_num].etue_state =
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#310: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:380:
+ __in efx_tunnel_cfg_t *etcp,
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#313: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:383:
+ EFSYS_ASSERT3U(etcp->etc_udp_entries_num, >, 0);
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#314: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:384:
+ etcp->etc_udp_entries_num--;
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#316: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:386:
+ if (entry < etcp->etc_udp_entries_num) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#317: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:387:
+ memmove(&etcp->etc_udp_entries[entry],
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#318: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:388:
+ &etcp->etc_udp_entries[entry + 1],
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#319: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:389:
+ (etcp->etc_udp_entries_num - entry) *
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#320: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:390:
+ sizeof (etcp->etc_udp_entries[0]));
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#320: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:390:
+ sizeof (etcp->etc_udp_entries[0]));
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#323: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:393:
+ memset(&etcp->etc_udp_entries[etcp->etc_udp_entries_num], 0,
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#323: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:393:
+ memset(&etcp->etc_udp_entries[etcp->etc_udp_entries_num], 0,
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#324: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:394:
+ sizeof (etcp->etc_udp_entries[0]));
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#324: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:394:
+ sizeof (etcp->etc_udp_entries[0]));
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#326: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:396:
+ return (entry);
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#336: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:406:
+ __in efx_tunnel_cfg_t *etcp,
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#341: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:411:
+ switch (etcp->etc_udp_entries[entry].etue_state) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#343: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:413:
+ next = efx_tunnel_config_udp_do_remove(etcp, entry);
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#348: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:418:
+ etcp->etc_udp_entries[entry].etue_state =
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#368: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:448:
+ if (etcp->etc_udp_entries[entry].etue_busy != B_FALSE) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#381: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:453:
+ if (etcp->etc_udp_entries[entry].etue_protocol != protocol) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#388: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:458:
+ (void) efx_tunnel_config_udp_remove_prepare(etcp, entry);
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#407: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:479:
+ __in efx_tunnel_cfg_t *etcp)
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#411: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:483:
+ for (i = 0; i < etcp->etc_udp_entries_num; i++) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#412: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:484:
+ if (etcp->etc_udp_entries[i].etue_busy != B_FALSE)
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#434: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:504:
+ if (efx_tunnel_table_all_available(etcp) == B_FALSE) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#440: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:510:
+ while (i < etcp->etc_udp_entries_num)
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#441: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:511:
+ i = efx_tunnel_config_udp_remove_prepare(etcp, i);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#445: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:515:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#451: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:521:
+ return (rc);
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#459: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:529:
+ efx_tunnel_cfg_t *etcp = &enp->en_tunnel_cfg;
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#476: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:547:
+ if (efx_tunnel_table_all_available(etcp) == B_FALSE) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#482: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:552:
+ for (i = 0; i < etcp->etc_udp_entries_num; i++) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#483: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:553:
+ entry = &etcp->etc_udp_entries[i];
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#508: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:578:
+ while (i < etcp->etc_udp_entries_num) {
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#511: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:581:
+ entry = &etcp->etc_udp_entries[i];
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#523: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:593:
+ next = efx_tunnel_config_udp_do_remove(etcp, i);
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#545: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:615:
+ for (i = 0; i < etcp->etc_udp_entries_num; i++)
WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'?
#546: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:616:
+ etcp->etc_udp_entries[i].etue_busy = B_FALSE;
total: 4 errors, 41 warnings, 421 lines checked
parent reply other threads:[~2020-09-22 9:01 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1600764594-14752-50-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=20200922090121.940BC1DCE0@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).