]> git.baikalelectronics.ru Git - uboot.git/commit
log: Fix up debug_cond() when LOG is enabled
authorSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 03:17:28 +0000 (16:17 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commit709a03dbaba743fa2941bb63f332e8d5df395fed
tree8339b97edc41eef53a4238e689dfdfa02f6df61a
parent43001bef369753069321e7afe9ea7feed13e31ed
log: Fix up debug_cond() when LOG is enabled

At present debug() statements can cause debuf output to appear when LOG is
enabled but DEBUG is not. This is not intended and it seems that the
condition is wrong.

Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/log.h