diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2012-11-28 17:33:01 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2013-01-06 15:52:09 -0600 |
commit | feafcd972cb744750a65728440c99526e6199a6d (patch) | |
tree | aef1894941c8f53ba69ad2a703ccfe286df26ccf /dtc.c | |
parent | 20b866a7ce1651c4ca3f28cf380df66d9ed35719 (diff) | |
download | dtc-feafcd972cb744750a65728440c99526e6199a6d.zip dtc-feafcd972cb744750a65728440c99526e6199a6d.tar.gz dtc-feafcd972cb744750a65728440c99526e6199a6d.tar.bz2 |
dtc/libfdt: introduce fdt types for annotation by endian checkers
Projects such as linux and u-boot run sparse on libfdt. libfdt
contains the notion of endianness via usage of endian conversion
functions such as fdt32_to_cpu. As such, in order to pass endian
checks, libfdt has to annotate its fdt variables such that sparse
can warn when mixing bitwise and regular integers. This patch adds
these new fdtXX_t types and, ifdef __CHECKER__ (a symbol sparse
defines), includes the bitwise annotation.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.c')
0 files changed, 0 insertions, 0 deletions