From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 1B50558CB; Thu, 30 Nov 2017 10:48:02 +0100 (CET) In-Reply-To: <20171130094657.11470-9-zhiyong.yang@intel.com> References: <20171130094657.11470-9-zhiyong.yang@intel.com> To: test-report@dpdk.org Cc: Zhiyong Yang Message-Id: <20171130094802.1B50558CB@dpdk.org> Date: Thu, 30 Nov 2017 10:48:02 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw31792 [PATCH 08/11] net/vhostpci: add RX function 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: , X-List-Received-Date: Thu, 30 Nov 2017 09:48:02 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/31792 _coding style issues_ CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'desc->len == dev->vhost_hlen' #98: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:368: + if (likely((desc->len == dev->vhost_hlen) && + (desc->flags & VRING_DESC_F_NEXT) != 0)) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'cur == m' #126: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:396: + if (likely(cpy_len > MAX_BATCH_LEN || + copy_nb >= vq->size || + (cur == m))) { CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #175: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:445: + + } CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #302: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:572: + + } total: 0 errors, 0 warnings, 4 checks, 335 lines checked