[dpdk-test-report] |WARNING| pw37282 [PATCH v3 21/21] vhost: add event suppression for packed queues

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


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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#76: FILE: lib/librte_vhost/vhost.h:79:
+        uint16_t desc_event_off_wrap;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#76: FILE: lib/librte_vhost/vhost.h:79:
+        uint16_t desc_event_off_wrap;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#77: FILE: lib/librte_vhost/vhost.h:80:
+        uint16_t desc_event_flags;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#77: FILE: lib/librte_vhost/vhost.h:80:
+        uint16_t desc_event_flags;$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#165: FILE: lib/librte_vhost/vhost.h:493:
+	if (do_kick)
+			eventfd_write(vq->callfd, (eventfd_t)1);

WARNING:LONG_LINE: line over 90 characters
#186: FILE: lib/librte_vhost/vhost_user.c:480:
+		vq->driver_event = (struct vring_packed_desc_event *)(uintptr_t)ring_addr_to_vva(dev,

WARNING:LONG_LINE: line over 90 characters
#187: FILE: lib/librte_vhost/vhost_user.c:481:
+				vq, addr->avail_user_addr, sizeof(struct vring_packed_desc_event));

WARNING:LONG_LINE: line over 90 characters
#195: FILE: lib/librte_vhost/vhost_user.c:489:
+		vq->device_event = (struct vring_packed_desc_event *)(uintptr_t)ring_addr_to_vva(dev,

WARNING:LONG_LINE: line over 90 characters
#196: FILE: lib/librte_vhost/vhost_user.c:490:
+				vq, addr->used_user_addr, sizeof(struct vring_packed_desc_event));

total: 2 errors, 7 warnings, 171 lines checked


More information about the test-report mailing list