[PATCH master] optee: include linux/limits.h to define U64_MAX
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 5 09:38:37 PDT 2024
U64_MAX is defined by <linux/limits.h>, which so far was included only
indirectly. To avoid breaking the build when this indirect include
disappears, include it directly in the file where it is used.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
common/optee.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/optee.c b/common/optee.c
index 7fe93e441974..31442b1a498d 100644
--- a/common/optee.c
+++ b/common/optee.c
@@ -5,6 +5,7 @@
#include <tee/optee.h>
#include <linux/printk.h>
#include <linux/errno.h>
+#include <linux/limits.h>
static u64 optee_membase = U64_MAX;
--
2.39.2
More information about the barebox
mailing list