Masahiro Yamada
6a60df8ec1
libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
...
[ Upstream commit a8de1304b7 ]
The DTC v1.5.1 added references to (U)INT32_MAX.
This is no problem for user-space programs since <stdint.h> defines
(U)INT32_MAX along with (u)int32_t.
For the kernel space, libfdt_env.h needs to be adjusted before we
pull in the changes.
In the kernel, we usually use s/u32 instead of (u)int32_t for the
fixed-width types.
Accordingly, we already have S/U32_MAX for their max values.
So, we should not add (U)INT32_MAX to <linux/limits.h> any more.
Instead, add them to the in-kernel libfdt_env.h to compile the
latest libfdt.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2020-01-04 13:41:02 +01:00
..
2019-09-10 10:31:03 +01:00
2019-12-05 15:34:25 +01:00
2019-05-31 06:48:27 -07:00
2019-11-28 18:28:38 +01:00
2019-04-17 08:36:45 +02:00
2019-12-21 10:41:19 +01:00
2019-11-25 09:53:24 +01:00
2019-12-21 10:41:00 +01:00
2019-05-14 19:19:36 +02:00
2019-11-25 09:53:19 +01:00
2019-11-16 10:29:37 +01:00
2019-12-21 10:41:08 +01:00
2019-12-21 10:41:44 +01:00
2019-05-21 18:49:01 +02:00
2019-05-31 06:48:11 -07:00
2019-11-28 18:28:45 +01:00
2019-06-11 12:22:36 +02:00
2019-04-17 08:36:46 +02:00
2019-05-14 19:19:34 +02:00
2019-11-25 09:53:14 +01:00
2019-10-05 12:30:26 +02:00
2020-01-04 13:39:17 +01:00
2019-06-22 08:17:19 +02:00
2019-02-27 10:07:01 +01:00
2019-08-06 18:29:38 +02:00
2019-08-06 18:29:38 +02:00
2019-01-31 08:12:35 +01:00
2019-07-10 09:55:44 +02:00
2019-01-31 08:12:35 +01:00
2019-08-06 18:29:42 +02:00
2019-11-16 10:29:54 +01:00
2019-11-25 09:52:44 +01:00
2019-03-13 14:04:51 -07:00
2019-08-04 09:33:22 +02:00
2019-08-04 09:33:43 +02:00
2019-03-23 13:19:52 +01:00
2019-12-21 10:41:09 +01:00
2019-11-25 09:52:59 +01:00
2019-06-11 12:22:45 +02:00
2019-11-25 09:53:14 +01:00
2019-08-25 10:51:50 +02:00
2019-06-11 12:22:49 +02:00
2019-12-05 15:35:02 +01:00
2019-02-12 19:44:56 +01:00
2019-11-10 11:23:23 +01:00
2019-09-10 10:31:00 +01:00
2019-02-15 08:07:39 +01:00
2019-05-31 06:48:29 -07:00
2019-05-31 06:48:12 -07:00
2019-10-17 13:42:22 -07:00
2019-08-11 12:22:17 +02:00
2019-11-25 09:51:58 +01:00
2019-04-05 22:29:12 +02:00
2019-12-21 10:41:37 +01:00
2019-05-08 07:19:07 +02:00
2019-05-10 17:52:09 +02:00
2019-02-06 17:33:29 +01:00
2019-04-27 09:34:44 +02:00
2019-11-28 18:29:02 +01:00
2020-01-04 13:41:02 +01:00
2019-06-11 12:22:42 +02:00
2019-05-16 19:43:40 +02:00
2019-05-21 18:48:55 +02:00
2019-11-28 18:28:51 +01:00
2019-11-12 19:15:42 +01:00
2019-11-12 19:15:42 +01:00
2020-01-04 13:40:16 +01:00
2019-08-06 18:29:42 +02:00
2019-02-23 09:05:58 +01:00
2019-12-21 10:42:25 +01:00
2019-05-25 18:26:47 +02:00
2019-01-31 08:12:35 +01:00
2019-11-12 19:15:42 +01:00
2019-05-25 18:26:53 +02:00
2019-02-20 10:18:31 +01:00
2019-06-11 12:22:45 +02:00
2019-03-23 13:19:50 +01:00
2019-05-14 19:19:34 +02:00
2019-06-22 08:17:17 +02:00
2020-01-04 13:40:50 +01:00
2019-12-21 10:42:08 +01:00
2019-05-16 19:43:40 +02:00
2019-08-04 09:33:19 +02:00
2019-04-05 22:29:06 +02:00
2019-12-05 15:34:07 +01:00
2019-04-05 22:29:05 +02:00
2019-08-04 09:33:45 +02:00
2019-12-21 10:40:50 +01:00
2019-08-25 10:51:42 +02:00
2019-11-10 11:23:31 +01:00
2019-05-31 06:48:17 -07:00
2019-04-17 08:36:39 +02:00
2019-12-05 15:35:02 +01:00
2019-06-17 19:53:32 +02:00
2019-12-21 10:42:25 +01:00
2019-12-21 10:41:25 +01:00
2019-05-08 07:19:08 +02:00
2019-04-17 08:36:47 +02:00
2019-07-21 09:06:03 +02:00