
17 Oct
2022
17 Oct
'22
11:29 p.m.
There is a complaint in the code that iterates keyboards that we don't have the _check variant of class iterator but we in fact do, use it.
In the code that iterates video devices there is an attempt to print errors but the simple iterator does not return a device when there is an error. Use the _check variant of the iterator as well.
Also format error messages consistently.
Signed-off-by: Michal Suchanek msuchanek@suse.de Reviewed-by: Simon Glass sjg@chromium.org --- v6: - drop errno_str - fix dev vs vdev in video error print --- common/stdio.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-)
Applied to u-boot-dm, thanks!