projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a45cd
)
log: Correct definition of log_msg_ret()
author
Simon Glass
<sjg@chromium.org>
Tue, 2 Oct 2018 11:22:31 +0000
(
05:22
-0600)
committer
Simon Glass
<sjg@chromium.org>
Mon, 8 Oct 2018 14:30:22 +0000
(08:30 -0600)
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>
include/log.h
patch
|
blob
|
history
diff --git
a/include/log.h
b/include/log.h
index 653fb8d853ec77ca96283f2f3f2487185ff55f12..75ff1e1160c91ed0a91ead38762dc8742e02a3f9 100644
(file)
--- a/
include/log.h
+++ b/
include/log.h
@@
-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
/**