[PATCH v2 01/19] errno: include string for EOPNOTSUPP
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 5 02:28:49 PDT 2024
On 01.08.24 07:57, Sascha Hauer wrote:
> -EOPNOTSUPP is becoming more common in the barebox code, so include the
> error string for it in the image.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
> common/misc.c | 1 +
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> 1 file changed, 1 insertion(+)
>
> diff --git a/common/misc.c b/common/misc.c
> index 7bc92c0f95..e6e993338c 100644
> --- a/common/misc.c
> +++ b/common/misc.c
> @@ -59,6 +59,7 @@ const char *strerror(int errnum)
> case EPROBE_DEFER : str = "Requested probe deferral"; break;
> case ELOOP : str = "Too many symbolic links encountered"; break;
> case ENODATA : str = "No data available"; break;
> + case EOPNOTSUPP : str = "Operation not supported"; break;
> #if 0 /* These are probably not needed */
> case ENOTBLK : str = "Block device required"; break;
> case EFBIG : str = "File too large"; break;
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list