]> git.dujemihanovic.xyz Git - u-boot.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)
commit4ce5b8104a1f09c41c69d17f21d9aac567173312
tree8339b97edc41eef53a4238e689dfdfa02f6df61a
parentda393412234a37af68188e7490eba136c832a275
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