]> git.dujemihanovic.xyz Git - u-boot.git/commit
console: Report an error when output buffer is exhausted
authorSimon Glass <sjg@chromium.org>
Sat, 8 May 2021 12:59:56 +0000 (06:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 8 Jun 2021 15:39:09 +0000 (11:39 -0400)
commitc1a2bb4f836a1c96c8e39a67be9795d462ec3356
treedf63c2604df3c23de4872d0b849b10f8c76afdd6
parent24e1e8841c59956aaf0bd65720d0dbdd61aa3632
console: Report an error when output buffer is exhausted

If the console output buffer is exhausted, characters are silently dropped
from the end. Detect this condition and report an error when reading back
the characters.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/console.c
include/asm-generic/global_data.h
include/console.h
test/ut.c