This allows gcc and especially clang to uncover some cases where NULL has been passed in to a function that was not expecting a NULL pointer and does not check for it.
https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html http://clang-analyzer.llvm.org/annotations.html#null_checking Mike Holmes (2): api: odp_hints: add ODP_NONNULL attribute linux-genric: odp_core_mask add ODP_NONNULL platform/linux-generic/include/api/odp_coremask.h | 15 ++++++++------- platform/linux-generic/include/api/odp_hints.h | 6 ++++++ 2 files changed, 14 insertions(+), 7 deletions(-) -- 2.1.0 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
