提交 fbcf37e4 编写于 作者: S Simon Glass

log: Correct definition of log_msg_ret()

This macro should have two parameters, not one. Fix it so that it
correctly resolves to _ret when logging is disabled.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 a6a45cd3
......@@ -175,7 +175,7 @@ void __assert_fail(const char *assertion, const char *file, unsigned int line,
})
#else
#define log_ret(_ret) (_ret)
#define log_msg_ret(_ret) (_ret)
#define log_msg_ret(_msg, _ret) (_ret)
#endif
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册