summaryrefslogtreecommitdiff
path: root/flattree.c
diff options
context:
space:
mode:
author David Gibson <david@gibson.dropbear.id.au> 2017-03-06 12:16:56 +1100
committer David Gibson <david@gibson.dropbear.id.au> 2017-03-06 12:16:56 +1100
commit881012e443860c7662a7c53ea38f398d623f820c (patch)
treea8f0167308daeb07aa4b56dd872ac75a38dab99f /flattree.c
parentbad5b28049e5e0562a8ad91797fb77953a53fa20 (diff)
libfdt: Change names of sparse helper macros
The default libfdt_env.h (for POSIXish userland builds) supports sparse checking. It has a couple of helper macros, __force and __bitwise which expand the relevant sparse attributes to enable checking for incorrect or missing endian conversions. Those are bad names: for one, leading underscores are supposed to be reserved for the system libraries, and worse, some systems (including RHEL7) do define those names already. So change them to FDT_FORCE and FDT_BITWISE which are far less likely to have collisions. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'flattree.c')
0 files changed, 0 insertions, 0 deletions