[dpdk-test-report] |WARNING| pw37266 [PATCH v3 05/21] net/virtio: dump packed virtqueue data

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 5 12:11:21 CEST 2018


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/37266

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#31: FILE: drivers/net/virtio/virtqueue.h:363:
+       if (vtpci_packed_queue((vq)->hw)) { \$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 9)
#31: FILE: drivers/net/virtio/virtqueue.h:363:
+       if (vtpci_packed_queue((vq)->hw)) { \
+         PMD_INIT_LOG(DEBUG, \

ERROR:CODE_INDENT: code indent should use tabs where possible
#32: FILE: drivers/net/virtio/virtqueue.h:364:
+         PMD_INIT_LOG(DEBUG, \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#32: FILE: drivers/net/virtio/virtqueue.h:364:
+         PMD_INIT_LOG(DEBUG, \$

ERROR:CODE_INDENT: code indent should use tabs where possible
#33: FILE: drivers/net/virtio/virtqueue.h:365:
+         "VQ: - size=%d; free=%d; last_used_idx=%d;" \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#33: FILE: drivers/net/virtio/virtqueue.h:365:
+         "VQ: - size=%d; free=%d; last_used_idx=%d;" \$

ERROR:CODE_INDENT: code indent should use tabs where possible
#34: FILE: drivers/net/virtio/virtqueue.h:366:
+         (vq)->vq_nentries, (vq)->vq_free_cnt, nused); \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#34: FILE: drivers/net/virtio/virtqueue.h:366:
+         (vq)->vq_nentries, (vq)->vq_free_cnt, nused); \$

ERROR:CODE_INDENT: code indent should use tabs where possible
#35: FILE: drivers/net/virtio/virtqueue.h:367:
+         break; \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#35: FILE: drivers/net/virtio/virtqueue.h:367:
+         break; \$

ERROR:CODE_INDENT: code indent should use tabs where possible
#36: FILE: drivers/net/virtio/virtqueue.h:368:
+         } \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#36: FILE: drivers/net/virtio/virtqueue.h:368:
+         } \$

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#37: FILE: drivers/net/virtio/virtqueue.h:369:
+	if (vtpci_packed_queue((vq)->hw)) break; \

total: 6 errors, 7 warnings, 0 checks, 13 lines checked


More information about the test-report mailing list