dtc/libfdt
David Gibson 1409097db8 dtc: Enable and fix -Wcast-qual warnings
Enabling -Wcast-qual warnings in dtc shows up a number of places where
we are incorrectly discarding a const qualification.  There are also
some places where we are intentionally discarding the 'const', and we
need an ugly cast through uintptr_t to suppress the warning.  However,
most of these are pretty well isolated with the *_w() functions.  So
in the interests of maximum safety with const qualifications, this
patch enables the warnings and fixes the existing complaints.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2008-07-14 12:36:08 -05:00
..
fdt.c dtc: Enable and fix -Wpointer-arith warnings 2008-07-14 12:36:08 -05:00
fdt.h Fix whitespace in libfdt/fdt.h 2007-11-28 09:44:27 -06:00
fdt_ro.c dtc: Enable and fix -Wcast-qual warnings 2008-07-14 12:36:08 -05:00
fdt_rw.c dtc: Enable and fix -Wcast-qual warnings 2008-07-14 12:36:08 -05:00
fdt_strerror.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_sw.c dtc: Enable and fix -Wpointer-arith warnings 2008-07-14 12:36:08 -05:00
fdt_wip.c dtc: Enable and fix -Wpointer-arith warnings 2008-07-14 12:36:08 -05:00
libfdt.h dtc: Enable and fix -Wcast-qual warnings 2008-07-14 12:36:08 -05:00
libfdt_env.h dtc: Address an assortment of portability problems 2008-07-14 12:21:18 -05:00
libfdt_internal.h dtc: Enable and fix -Wcast-qual warnings 2008-07-14 12:36:08 -05:00
Makefile.libfdt dtc: Clean up included Makefile fragments 2008-05-19 14:07:53 -05:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00