mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] optee: include linux/limits.h to define U64_MAX
@ 2024-08-05 16:38 Ahmad Fatoum
  2024-08-06  5:54 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-08-05 16:38 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-06  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-05 16:38 [PATCH master] optee: include linux/limits.h to define U64_MAX Ahmad Fatoum
2024-08-06  5:54 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox