* |WARNING| pw113466 [PATCH 4/4] vhost: prefix logs with context
[not found] <20220627092728.78214-5-david.marchand@redhat.com>
@ 2022-06-27 9:28 ` checkpatch
2022-06-27 10:39 ` |SUCCESS| " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-06-27 9:28 UTC (permalink / raw)
To: test-report; +Cc: David Marchand
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
^ permalink raw reply [flat|nested] 2+ messages in thread