dtc/libfdt
David Gibson 36786db615 dtc: Enable and fix -Wpointer-arith warnings
This patch turns on the -Wpointer-arith option in the dtc Makefile,
and fixes the resulting warnings due to using (void *) in pointer
arithmetic.  While convenient, pointer arithmetic on void * is not
portable, so it's better that we avoid it, particularly in libfdt.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
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
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 -Wpointer-arith warnings 2008-07-14 12:36:08 -05:00
fdt_rw.c dtc: Enable and fix -Wpointer-arith 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 libfdt: Add and use a node iteration helper function. 2008-02-12 09:11:40 -06: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 -Wpointer-arith warnings 2008-07-14 12:36:08 -05:00