[dpdk-test-report] |WARNING| pw56279 [PATCH v2 2/2] vhost: Add vhost-user-blk example which support inflight

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jul 10 04:58:33 CEST 2019


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

_coding style issues_


WARNING:LONG_LINE: line over 90 characters
#202: FILE: examples/vhost_blk/blk.c:82:
+				"%s - passed IO buffer is not multiple of 512b (req_idx = %"PRIu16").
",

WARNING:LONG_LINE: line over 90 characters
#214: FILE: examples/vhost_blk/blk.c:94:
+				"%s - passed IO buffer is not multiple of 512b (req_idx = %"PRIu16").
",

WARNING:BRACES: braces {} are not necessary for single statement blocks
#226: FILE: examples/vhost_blk/blk.c:106:
+		if (!task->iovs_cnt || task->data_len) {
+			return VIRTIO_BLK_S_UNSUPP;
+		}

ERROR:TRAILING_WHITESPACE: trailing whitespace
#604: FILE: examples/vhost_blk/vhost_blk.c:233:
+^I^I} $

ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#1060: FILE: examples/vhost_blk/vhost_blk.h:94:
+struct vhost_blk_ctrlr* vhost_blk_ctrlr_find(const char *ctrlr_name);

total: 2 errors, 3 warnings, 1178 lines checked


More information about the test-report mailing list