Allow comparison to NULL since ODP API calls may return NULL
and test applications should be able to compare against that,
instead of forced to compare against 0 (!ptr).

Signed-off-by: Petri Savolainen <[email protected]>
---
 .checkpatch.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.checkpatch.conf b/.checkpatch.conf
index c9f2896..69af101 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -3,5 +3,6 @@
 --ignore=SPLIT_STRING
 --ignore=NEW_TYPEDEFS
 --ignore=DEPRECATED_VARIABLE
+--ignore=COMPARISON_TO_NULL
 --codespell
 --codespellfile=/usr/share/codespell/dictionary.txt
-- 
2.5.2

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to