diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2015-09-15 15:01:49 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-09-16 11:10:07 +0300 |
commit | 5bd716d6e4fde1025b76d53c5b22a2184db2d86e (patch) | |
tree | 538e9cc93ed856d3180fd4b9b5b2f78c28fd0325 /.checkpatch.conf | |
parent | 085a865dd7ca24d5fcc0c1bb9242590ee5aec2c5 (diff) |
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 <petri.savolainen@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to '.checkpatch.conf')
-rw-r--r-- | .checkpatch.conf | 1 |
1 files changed, 1 insertions, 0 deletions
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 |