[dpdk-test-report] |WARNING| pw31120 [PATCH RFC 6/6] example/vhost_crypto: add vhost_crypto sample application

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 2 17:10:03 CET 2017


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

_coding style issues_


WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#144: FILE: examples/vhost_crypto/main.c:48:
+#define MAX_PKT_BURST ^I^I^I(64) /**< Max burst size for RX/TX */$

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#345: FILE: examples/vhost_crypto/main.c:249:
+static const struct vhost_device_ops virtio_crypto_device_ops =
+{

WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#351: FILE: examples/vhost_crypto/main.c:255:
+/*
+static void clrscr(void)

WARNING:TYPO_SPELLING: 'Procesing' may be misspelled - perhaps 'Processing'?
#489: FILE: examples/vhost_crypto/main.c:393:
+	RTE_LOG(INFO, USER1, "Procesing on Core %u started
", lcore_id);

ERROR:SPACING: spaces required around that '=' (ctx:WxV)
#491: FILE: examples/vhost_crypto/main.c:395:
+	ret =rte_cryptodev_configure(info.cid, &config);
 	    ^

WARNING:BRACES: braces {} are not necessary for single statement blocks
#628: FILE: examples/vhost_crypto/main.c:532:
+	if (ret < 0) {
+		rte_exit(EXIT_FAILURE, "Failed to parse arguments!
");
+	}

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 17)
#676: FILE: examples/vhost_crypto/main.c:580:
+	if (rte_eal_remote_launch(vhost_crypto_stats_worker, NULL, stats_lcore)
[...]
+		 {

WARNING:TABSTOP: Statements should start on a tabstop
#678: FILE: examples/vhost_crypto/main.c:582:
+		 {

total: 2 errors, 6 warnings, 676 lines checked


More information about the test-report mailing list