automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw36160 [PATCH 05/17] net/virtio: don't dump split virtqueue data
       [not found] <20180316152120.13199-6-jfreimann@redhat.com>
@ 2018-03-16 15:23 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-03-16 15:23 UTC (permalink / raw)
  To: test-report; +Cc: Jens Freimann

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-16 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180316152120.13199-6-jfreimann@redhat.com>
2018-03-16 15:23 ` [dpdk-test-report] |WARNING| pw36160 [PATCH 05/17] net/virtio: don't dump split virtqueue data checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).