zero_to_err_ptr: don't warn on impossible paths
commitdf511915d6602a59a9d1165f2c513168f9402c84
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Feb 2019 06:30:28 +0000 (18 09:30 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Feb 2019 06:30:28 +0000 (18 09:30 +0300)
tree290dff6f76c8ee5191c8c92dc94df6df829cb7cc
parent6acd45ec509de6ea24d4bfdcbfe157aa2b619d7c
zero_to_err_ptr: don't warn on impossible paths

I considered several options to addressing impossible IS_ERR() paths, and
in the end I decided to fix the type issue instead of removing all the
special IS_ERR() code from check_kernel.c...

But I may as well commit this as well.  It's a different way to solve the
same issue.

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