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 E3D33A0A0C for ; Fri, 9 Jul 2021 05:16:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E049B4014D; Fri, 9 Jul 2021 05:16:44 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 57DA540143 for ; Fri, 9 Jul 2021 05:16:44 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 5117B120736; Fri, 9 Jul 2021 05:16:44 +0200 (CEST) In-Reply-To: <1625823790-91995-4-git-send-email-jiayu.hu@intel.com> References: <1625823790-91995-4-git-send-email-jiayu.hu@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Jiayu Hu Message-Id: <20210709031644.5117B120736@dpdk.org> Date: Fri, 9 Jul 2021 05:16:44 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw95589 [PATCH v3 3/3] vhost: add thread unsafe async registeration functions 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/95589 _coding style issues_ WARNING:BRACES: braces {} are not necessary for single statement blocks #270: FILE: lib/vhost/vhost.c:1713: + if (dev == NULL || ops == NULL) { + return -1; + } WARNING:BRACES: braces {} are not necessary for single statement blocks #274: FILE: lib/vhost/vhost.c:1717: + if (queue_id >= VHOST_MAX_VRING) { + return -1; + } WARNING:BRACES: braces {} are not necessary for single statement blocks #280: FILE: lib/vhost/vhost.c:1723: + if (unlikely(vq == NULL || !dev->async_copy)) { + return -1; + } WARNING:BRACES: braces {} are not necessary for single statement blocks #311: FILE: lib/vhost/vhost.c:1753: + if (dev == NULL || ops == NULL) { + return -1; + } WARNING:BRACES: braces {} are not necessary for single statement blocks #315: FILE: lib/vhost/vhost.c:1757: + if (queue_id >= VHOST_MAX_VRING) { + return -1; + } WARNING:BRACES: braces {} are not necessary for single statement blocks #321: FILE: lib/vhost/vhost.c:1763: + if (unlikely(vq == NULL || !dev->async_copy)) { + return -1; + } total: 0 errors, 6 warnings, 289 lines checked