[PATCH v2 4/6] log: Fix up debug_cond() when LOG is enabled

Simon Glass sjg at chromium.org
Tue Apr 6 06:34:18 CEST 2021

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 at chromium.org>

(no changes since v1)

 include/log.h | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Applied to u-boot-dm, thanks!

More information about the U-Boot mailing list