|WARNING| pw106461 [PATCH 06/15] example/vdpa:add vdpa blk support in example

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 25 07:55:25 CET 2022


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

_coding style issues_


WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

WARNING:TYPO_SPELLING: 'protocal' may be misspelled - perhaps 'protocol'?
#116: FILE: examples/vdpa/main.c:200:
+			"set vhost blk driver features and protocal features failed: %s
",

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#139: FILE: examples/vdpa/vdpa_blk_compact.c:2:
+/*
+**    INTEL CONFIDENTIAL

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#164: FILE: examples/vdpa/vdpa_blk_compact.c:27:
+/**
+** @file

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#197: FILE: examples/vdpa/vdpa_blk_compact.c:60:
+	fprintf(stderr, "msg is %d
", msg->request.master);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#198: FILE: examples/vdpa/vdpa_blk_compact.c:61:
+	switch (msg->request.master) {

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#297: FILE: examples/vdpa/vdpa_blk_compact.h:2:
+/*
+**    INTEL CONFIDENTIAL

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#421: FILE: examples/vdpa/vhost_user.h:2:
+/*
+**    INTEL CONFIDENTIAL

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#466: FILE: examples/vdpa/vhost_user.h:47:
+			(1ULL << VHOST_USER_PROTOCOL_F_SLAVE_REQ) | \

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#468: FILE: examples/vdpa/vhost_user.h:49:
+			(1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD) | \

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#494: FILE: examples/vdpa/vhost_user.h:75:
+	VHOST_USER_SET_SLAVE_REQ_FD = 21,

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#507: FILE: examples/vdpa/vhost_user.h:88:
+	VHOST_USER_SLAVE_NONE = 0,

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#508: FILE: examples/vdpa/vhost_user.h:89:
+	VHOST_USER_SLAVE_IOTLB_MSG = 1,

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#509: FILE: examples/vdpa/vhost_user.h:90:
+	VHOST_USER_SLAVE_VRING_HOST_NOTIFIER_MSG = 3,

WARNING:TYPO_SPELLING: 'SLAVE' may be misspelled - perhaps 'SECONDARY'?
#510: FILE: examples/vdpa/vhost_user.h:91:
+	VHOST_USER_SLAVE_MAX

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#578: FILE: examples/vdpa/vhost_user.h:159:
+		uint32_t master; /* a VhostUserRequest value */

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#579: FILE: examples/vdpa/vhost_user.h:160:
+		uint32_t slave;  /* a VhostUserSlaveRequest value*/

total: 0 errors, 17 warnings, 499 lines checked


More information about the test-report mailing list