From c7710eefb960f08f8d812ce69b8aead786bb866b Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Wed, 22 Nov 2023 18:29:32 +0100 Subject: include: provide linux/errno.h We don't have the historic baggage of having to support different errno definitions depending on architecture. We thus have only asm-generic/errno.h and include that from errno.h and elsewhere directly. Kernel code however includes , so let's provide that file as well and define there the Linux-specific errno's and include for all other errnos. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20231122172951.376531-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- include/linux/err.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/err.h') diff --git a/include/linux/err.h b/include/linux/err.h index db7ad6cc5b..d743b4d092 100644 --- a/include/linux/err.h +++ b/include/linux/err.h @@ -5,7 +5,7 @@ #include -#include +#include /* * Kernel pointers have redundant information, so we can use a -- cgit v1.2.3