[U-Boot] [PATCH 1/2] lib: errno: check for unsupported error number

Simon Glass sjg at chromium.org
Sun Oct 13 15:03:17 UTC 2019


On Sun, 6 Oct 2019 at 06:33, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> If errno_str() is called with an unsupported error number, do not return a
> random pointer but a reasonable text.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  lib/errno_str.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list