|WARNING| pw113466 [PATCH 4/4] vhost: prefix logs with context
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Jun 27 11:28:39 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/113466
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#955: FILE: lib/vhost/vhost.h:632:
+#define VHOST_LOG_DATA(prefix, level, fmt, args...) \
(void)((RTE_LOG_ ## level <= RTE_LOG_DP_LEVEL) ? \
rte_log(RTE_LOG_ ## level, vhost_data_log_level, \
+ "VHOST_DATA: (%s):" fmt, prefix, ##args) : \
0)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1009: FILE: lib/vhost/vhost_user.c:98:
+ expected_fds, vhost_message_handlers[ctx->msg.request.master].description,
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1478: FILE: lib/vhost/vhost_user.c:1157:
+ ack_ctx.msg.request.master);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2049: FILE: lib/vhost/vhost_user.c:2409:
+ "invalid file descriptor for slave channel (%d)
", fd);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2381: FILE: lib/vhost/vhost_user.c:3211:
+ "vhost read slave message reply failed
");
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2395: FILE: lib/vhost/vhost_user.c:3222:
+ msg_reply.msg.request.slave, ctx->msg.request.slave);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2395: FILE: lib/vhost/vhost_user.c:3222:
+ msg_reply.msg.request.slave, ctx->msg.request.slave);
total: 1 errors, 6 warnings, 2735 lines checked
More information about the test-report
mailing list