diff options
author | 2017-03-06 12:16:56 +1100 | |
---|---|---|
committer | 2017-03-06 12:16:56 +1100 | |
commit | 881012e443860c7662a7c53ea38f398d623f820c (patch) | |
tree | a8f0167308daeb07aa4b56dd872ac75a38dab99f /flattree.c | |
parent | bad5b28049e5e0562a8ad91797fb77953a53fa20 (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