[dpdk-test-report] |WARNING| pw56221 [PATCH] [v2, 1/2]vhost: support inflight share memory protocol feature

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 8 12:06:46 CEST 2019


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

_coding style issues_


WARNING:LONG_LINE: line over 90 characters
#270: FILE: lib/librte_vhost/vhost.c:778:
+		vring->resubmit_inflight_split = dev->virtqueue[vring_idx]->resubmit_inflight_split;

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#592: FILE: lib/librte_vhost/vhost_user.c:1282:
+		return RTE_VHOST_MSG_RESULT_ERR;
+	} else {

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#651: FILE: lib/librte_vhost/vhost_user.c:1341:
+		return RTE_VHOST_MSG_RESULT_ERR;
+	} else {

WARNING:LONG_LINE: line over 90 characters
#744: FILE: lib/librte_vhost/vhost_user.c:1463:
+		vq->inflight_split->desc[vq->inflight_split->last_inflight_io].inflight = 0;

total: 0 errors, 4 warnings, 764 lines checked
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
Please only put __rte_experimental tags in headers (b/lib/librte_vhost/vhost.c)
__rte_experimental must appear alone on the line immediately preceding the return type of a function.


More information about the test-report mailing list