From 5bd716d6e4fde1025b76d53c5b22a2184db2d86e Mon Sep 17 00:00:00 2001 From: Petri Savolainen Date: Tue, 15 Sep 2015 15:01:49 +0300 Subject: checkpatch: allow comparison to NULL 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 Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- .checkpatch.conf | 1 + 1 file changed, 1 insertion(+) (limited to '.checkpatch.conf') diff --git a/.checkpatch.conf b/.checkpatch.conf index c9f2896ee..69af10135 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 -- cgit v1.2.3