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 CEE27A0519 for ; Fri, 3 Jul 2020 08:49:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B71F81D8EB; Fri, 3 Jul 2020 08:49:14 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 231141D8F3; Fri, 3 Jul 2020 08:49:13 +0200 (CEST) In-Reply-To: <1593758842-6306-1-git-send-email-wangzhike@jd.com> References: <1593758842-6306-1-git-send-email-wangzhike@jd.com> To: test-report@dpdk.org Cc: Zhike Wang Message-Id: <20200703064913.231141D8F3@dpdk.org> Date: Fri, 3 Jul 2020 08:49:13 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw72945 [PATCH v2] net/pcap: support snaplen option to truncate packet 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/72945 _coding style issues_ Must be a reply to the first patch (--in-reply-to). CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pp->snaplen > 0' #211: FILE: drivers/net/pcap/rte_eth_pcap.c:346: + if ((pp->snaplen > 0) && (caplen > pp->snaplen)) CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'caplen > pp->snaplen' #211: FILE: drivers/net/pcap/rte_eth_pcap.c:346: + if ((pp->snaplen > 0) && (caplen > pp->snaplen)) total: 0 errors, 0 warnings, 2 checks, 191 lines checked