The patch triggers checkpatch warning, but the warning is Linux kernel
specific and should be ignored.

Signed-off-by: Taras Kondratiuk <taras.kondrat...@linaro.org>
Reviewed-by: Mike Holmes <mike.hol...@linaro.org>
---
 include/odp/api/hints.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/odp/api/hints.h b/include/odp/api/hints.h
index b7b0609..4211994 100644
--- a/include/odp/api/hints.h
+++ b/include/odp/api/hints.h
@@ -46,6 +46,11 @@ extern "C" {
 #define ODP_COLD_CODE   __attribute__((__cold__))
 
 /**
+ * Printf format attribute
+ */
+#define ODP_PRINTF_FORMAT(x, y) __attribute__((format(printf, (x), (y))))
+
+/**
  * Branch likely taken
  */
 #define odp_likely(x)   __builtin_expect((x), 1)
-- 
1.9.1


_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to