dtc/libfdt
Andre Przywara 82525f41d5 libfdt: libfdt_wip: Fix comparison warning
With -Wsign-compare, compilers warn about a mismatching signedness
in a comparison in fdt_setprop_inplace_namelen_partial().

fdt_getprop_namelen() will only return negative error values in "proplen"
if the return value is NULL. So we can rely on "proplen" being positive
in our case and can safely cast it to an unsigned type.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Message-Id: <20201001164630.4980-5-andre.przywara@arm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-10-02 10:30:07 +10:00
..
.gitignore Link tools and tests against libfdt shared library 2019-03-29 17:20:16 +11:00
fdt.c libfdt: fdt_move(): Fix comparison warnings 2020-10-02 10:28:36 +10:00
fdt.h libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
fdt_addresses.c libfdt: Allow #size-cells of 0 2019-07-28 16:31:44 +10:00
fdt_check.c libfdt: fix fdt_check_full buffer overrun 2020-07-10 19:55:36 +10:00
fdt_empty_tree.c libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
fdt_overlay.c libfdt: overlay: Fix comparison warning 2020-09-25 14:05:51 +10:00
fdt_ro.c libfdt: fdt_node_offset_by_phandle(): Fix comparison warning 2020-09-25 14:09:41 +10:00
fdt_rw.c libfdt: fdt_splice_(): Fix comparison warning 2020-09-24 11:07:27 +10:00
fdt_strerror.c libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
fdt_sw.c libfdt: fdt_create_with_flags(): Fix comparison warning 2020-10-02 10:29:27 +10:00
fdt_wip.c libfdt: libfdt_wip: Fix comparison warning 2020-10-02 10:30:07 +10:00
libfdt.h libfdt: add extern "C" for C++ 2020-06-19 09:52:41 +10:00
libfdt_env.h libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
libfdt_internal.h libfdt: Add support for disabling internal checks 2020-03-03 09:59:55 +11:00
Makefile.libfdt libfdt: Allow exclusion of fdt_check_full() 2020-02-24 13:38:44 +11:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00
version.lds libfdt: De-inline fdt_header_size() 2020-02-24 13:38:44 +11:00