From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 74CE9AABA; Fri, 16 Mar 2018 16:23:21 +0100 (CET) In-Reply-To: <20180316152120.13199-6-jfreimann@redhat.com> References: <20180316152120.13199-6-jfreimann@redhat.com> To: test-report@dpdk.org Cc: Jens Freimann Message-Id: <20180316152321.74CE9AABA@dpdk.org> Date: Fri, 16 Mar 2018 16:23:21 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw36160 [PATCH 05/17] net/virtio: don't dump split virtqueue data 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, 16 Mar 2018 15:23:21 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/36160 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'vq' - possible side-effects? #32: FILE: drivers/net/virtio/virtqueue.h:362: +#define VIRTQUEUE_DUMP(vq) \ + do { \ + if (vtpci_packed_queue((vq)->hw)) break; \ uint16_t used_idx, nused; \ used_idx = (vq)->vq_ring.used->idx; \ nused = (uint16_t)(used_idx - (vq)->vq_used_cons_idx); \ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8) #33: FILE: drivers/net/virtio/virtqueue.h:363: + do { \ + if (vtpci_packed_queue((vq)->hw)) break; \ ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #34: FILE: drivers/net/virtio/virtqueue.h:364: + if (vtpci_packed_queue((vq)->hw)) break; \ total: 1 errors, 1 warnings, 1 checks, 10 lines checked