helper: improve is_error_return()
commit7da88173376ea79b708901cb2b0dd5bce4a83e27
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 21 Nov 2013 14:49:28 +0000 (21 17:49 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 21 Nov 2013 14:49:28 +0000 (21 17:49 +0300)
tree1929e5b26a90be734fac912f2555cd2fef74da97
parentd6b0156a3bc7e97d842e9a551ab8176c4b074cd2
helper: improve is_error_return()

Use the implied value, instead of only literals.  All error values are
error returns even if they are casted to positive like ERR_PTR().

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