summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-11-13 16:12:02 +0900
committerRob Herring <robh@kernel.org>2019-11-26 13:35:25 -0700
commita8de1304b7df30e3a14f2a8b9709bb4ff31a0385 (patch)
tree456d9f44e0681816a20ce826d8e8898313c18c96 /arch/arm/lib
parent30a3e01d4cbbfedac48d69a415136000a36910c7 (diff)
downloadlinux-a8de1304b7df30e3a14f2a8b9709bb4ff31a0385.tar.bz2
libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
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>
Diffstat (limited to 'arch/arm/lib')
0 files changed, 0 insertions, 0 deletions