History log of /external/dtc/tests/extra-terminating-null.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
38ad79d33946590c862567c7cbdf25b5a46d8149 14-Nov-2012 Kim Phillips <kim.phillips@freescale.com> dtc/tests: don't include fdt.h prior to libfdt.h

tests will need fdt type definitions provided in a subsequent patch
to libfdt_env.h. Since libfdt.h includes libfdt_env.h in the right
order anyway, just remove the fdt.h include.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/extra-terminating-null.c
74f6a51b1f71ffc7d9557e063630469a93eeddec 09-Mar-2010 David Gibson <david@gibson.dropbear.id.au> dtc: Enable more warnings

This patch turns on a bunch of extra gcc warnings, most of which are
probably a good idea. Of the new warnings -Wnested-externs and
-Wstrict-prototypes need no code changes, we're already warning-clean.
The remaining one, -Wmissing-prototypes requires trivial changes in
some of the tests (making functions local).

This patch also rearranges the warnings flags into a separate make
variable for convenience, and turns on -Werror, to really encourage
people to keep the code warning-clean.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/extra-terminating-null.c
c623fe5c21e0358fc38a4e8ddb0d51379f0733e8 09-Sep-2009 David Gibson <david@gibson.dropbear.id.au> Fix bug in -Odts with properties containing multiple terminating nulls

When in -Odts mode, dtc will not produce correct output for
string-like properties which have more than one \0 character at the
end of the property's bytestring. In fact, it generates output which
is not syntactically correct. This patch fixes the bug, and adds a
testcase for future regressions here.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/extra-terminating-null.c