locking: handle null vs non-NULL returns
commitc753fce4f1de1a4b7691891cf02480e30c8f94c1
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 9 Apr 2013 20:27:32 +0000 (9 23:27 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 9 Apr 2013 20:27:32 +0000 (9 23:27 +0300)
tree3946213344995a83bbc0a83b2c31debc87d0d380
parenta75ef32c7436be2c294ea591f62743c425d45502
locking: handle null vs non-NULL returns

Don't warn if we have a function where we hold the lock for valid pointers
but don't hold it for null pointers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_locking.c