mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user