[PATCH 1/4] include: <linux/overflow.h>: add missing include

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jan 3 03:58:21 PST 2022


SIZE_MAX needs to be defined for functions defined inline within the
header. Include appropriate header.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/linux/overflow.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/overflow.h b/include/linux/overflow.h
index 659045046468..50c93ca0c3d6 100644
--- a/include/linux/overflow.h
+++ b/include/linux/overflow.h
@@ -3,6 +3,7 @@
 #define __LINUX_OVERFLOW_H
 
 #include <linux/compiler.h>
+#include <linux/limits.h>
 
 /*
  * In the fallback code below, we need to compute the minimum and
-- 
2.30.2




More information about the barebox mailing list