From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 180CAFB78; Fri, 3 Mar 2017 18:56:32 +0100 (CET) In-Reply-To: <1488563803-87754-6-git-send-email-jianfeng.tan@intel.com> References: <1488563803-87754-6-git-send-email-jianfeng.tan@intel.com> To: test-report@dpdk.org Cc: Jianfeng Tan Message-Id: <20170303175632.180CAFB78@dpdk.org> Date: Fri, 3 Mar 2017 18:56:32 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw21401 [PATCH 5/5] net/virtio-user: add lsc support with vhost-kernel adapter 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: Fri, 03 Mar 2017 17:56:32 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/21401 _coding style issues_ ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #193: FILE: drivers/net/virtio/virtio_user_ethdev.c:101: + while (read(dev->fd_inotify, buf, sizeof buf) > 0) {}; WARNING:BRACES: braces {} are not necessary for single statement blocks #193: FILE: drivers/net/virtio/virtio_user_ethdev.c:101: + while (read(dev->fd_inotify, buf, sizeof buf) > 0) {}; WARNING:SIZEOF_PARENTHESIS: sizeof buf should be sizeof(buf) #193: FILE: drivers/net/virtio/virtio_user_ethdev.c:101: + while (read(dev->fd_inotify, buf, sizeof buf) > 0) {}; total: 1 errors, 2 warnings, 0 checks, 129 lines checked