diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-06-09 16:11:09 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-06-10 19:27:44 +0000 |
commit | ae41dd3344623d07edd42aaa919d2439a42d6a3c (patch) | |
tree | 118bbaf5f3c063819cd4abd70007bf5b28613689 /src/console | |
parent | ce55ca2fcaab23010b2f7e310c921f65b037034d (diff) |
tests/console: Add tests for log message routing behavior
Change-Id: Id978cfe4fa45fef9edbc3d3b55606ff6973521c5
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55356
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console/init.c b/src/console/init.c index a2ceb58018..6fa48498a8 100644 --- a/src/console/init.c +++ b/src/console/init.c @@ -13,7 +13,8 @@ static int console_inited; static int console_loglevel; -static inline int get_log_level(void) +int get_log_level(void); +int get_log_level(void) { if (console_inited == 0) return -1; |