From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 5CE681AEF6; Sat, 23 Sep 2017 22:24:34 +0200 (CEST) In-Reply-To: References: To: test-report@dpdk.org Cc: Jan Scheurich Message-Id: <20170923202434.5CE681AEF6@dpdk.org> Date: Sat, 23 Sep 2017 22:24:34 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw29131 [PATCH v2] vhost: Expose virtio interrupt need on rte_vhost API 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: Sat, 23 Sep 2017 20:24:34 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/29131 _coding style issues_ WARNING:LEADING_SPACE: please, no spaces at the start of a line #85: FILE: lib/librte_vhost/vhost.c:509: + struct virtio_net *dev;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #86: FILE: lib/librte_vhost/vhost.c:510: + struct vhost_virtqueue *vq;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #88: FILE: lib/librte_vhost/vhost.c:512: + dev = get_device(vid);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #89: FILE: lib/librte_vhost/vhost.c:513: + if (dev == NULL)$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15) #89: FILE: lib/librte_vhost/vhost.c:513: + if (dev == NULL) + return 0; ERROR:CODE_INDENT: code indent should use tabs where possible #90: FILE: lib/librte_vhost/vhost.c:514: + return 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #90: FILE: lib/librte_vhost/vhost.c:514: + return 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #92: FILE: lib/librte_vhost/vhost.c:516: + vq = dev->virtqueue[qid];$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #93: FILE: lib/librte_vhost/vhost.c:517: + if (vq == NULL)$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15) #93: FILE: lib/librte_vhost/vhost.c:517: + if (vq == NULL) + return 0; ERROR:CODE_INDENT: code indent should use tabs where possible #94: FILE: lib/librte_vhost/vhost.c:518: + return 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #94: FILE: lib/librte_vhost/vhost.c:518: + return 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #96: FILE: lib/librte_vhost/vhost.c:520: + if (unlikely(vq->enabled == 0 || vq->avail == NULL))$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15) #96: FILE: lib/librte_vhost/vhost.c:520: + if (unlikely(vq->enabled == 0 || vq->avail == NULL)) + return 0; ERROR:CODE_INDENT: code indent should use tabs where possible #97: FILE: lib/librte_vhost/vhost.c:521: + return 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #97: FILE: lib/librte_vhost/vhost.c:521: + return 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #99: FILE: lib/librte_vhost/vhost.c:523: + return !(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT);$ total: 3 errors, 14 warnings, 40 lines checked