From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 255A4A04E1 for ; Tue, 22 Sep 2020 11:44:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EC7D51DDBB; Tue, 22 Sep 2020 11:44:55 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id CD1191DDE6; Tue, 22 Sep 2020 11:44:53 +0200 (CEST) In-Reply-To: <1600767288-12109-50-git-send-email-arybchenko@solarflare.com> References: <1600767288-12109-50-git-send-email-arybchenko@solarflare.com> To: test-report@dpdk.org Cc: Andrew Rybchenko Message-Id: <20200922094453.CD1191DDE6@dpdk.org> Date: Tue, 22 Sep 2020 11:44:53 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw78373 [PATCH v2 49/60] common/sfc_efx/base: introduce states for UDP tunnel entries X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/78373 _coding style issues_ ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #230: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:90: + return (B_FALSE); WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'? #248: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:112: + if (etcp != NULL) { WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'? #249: 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'? #250: 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'? #267: 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'? #296: 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'? #296: 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'? #311: 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'? #314: 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'? #315: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:384: + etcp->etc_udp_entries_num--; WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'? #317: 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'? #318: 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'? #319: 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'? #320: 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'? #321: 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 '(' #321: 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'? #324: 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:393: + memset(&etcp->etc_udp_entries[etcp->etc_udp_entries_num], 0, WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'? #325: 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 '(' #325: 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 #327: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:396: + return (entry); WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'? #337: 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'? #342: 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'? #344: 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'? #349: 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'? #369: 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'? #382: 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'? #389: 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'? #408: 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'? #412: 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'? #413: 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'? #435: 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'? #441: 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'? #442: 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 #446: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:515: + return (0); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #452: FILE: drivers/common/sfc_efx/base/efx_tunnel.c:521: + return (rc); WARNING:TYPO_SPELLING: 'etcp' may be misspelled - perhaps 'etc'? #460: 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'? #477: 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'? #483: 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'? #484: 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'? #509: 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'? #512: 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'? #524: 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'? #546: 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'? #547: 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