From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9FDE5A00C4 for ; Thu, 4 Aug 2022 19:03:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9AC5942BCA; Thu, 4 Aug 2022 19:03:27 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 23D614067C for ; Thu, 4 Aug 2022 19:03:26 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 1FC7F120775; Thu, 4 Aug 2022 19:03:26 +0200 (CEST) Subject: |WARNING| pw114637 [PATCH 14/21] net/softnic: add pipeline selector table CLI commands In-Reply-To: <20220804165839.1074817-15-cristian.dumitrescu@intel.com> References: <20220804165839.1074817-15-cristian.dumitrescu@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Cristian Dumitrescu Message-Id: <20220804170326.1FC7F120775@dpdk.org> Date: Thu, 4 Aug 2022 19:03:26 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/114637 _coding style issues_ CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 6' #561: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1423: + if ((n_tokens >= 6) && + !strcmp(tokens[2], "selector") && + !strcmp(tokens[4], "group") && + !strcmp(tokens[5], "add")) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 6' #570: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1432: + if ((n_tokens >= 6) && + !strcmp(tokens[2], "selector") && + !strcmp(tokens[4], "group") && + !strcmp(tokens[5], "delete")) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 7' #579: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1441: + if ((n_tokens >= 7) && + !strcmp(tokens[2], "selector") && + !strcmp(tokens[4], "group") && + !strcmp(tokens[5], "member") && + !strcmp(tokens[6], "add")) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 7' #589: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1451: + if ((n_tokens >= 7) && + !strcmp(tokens[2], "selector") && + !strcmp(tokens[4], "group") && + !strcmp(tokens[5], "member") && + !strcmp(tokens[6], "delete")) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 5' #599: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1461: + if ((n_tokens >= 5) && + !strcmp(tokens[2], "selector") && + !strcmp(tokens[4], "show")) { total: 0 errors, 0 warnings, 5 checks, 529 lines checked