zero_to_err_ptr: handle parse errors better
commit124ec01c502ca97ca83e6c7a3d9ceee9095aac72
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 31 Jul 2023 09:00:44 +0000 (31 12:00 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Mon, 31 Jul 2023 09:00:44 +0000 (31 12:00 +0300)
treea551d177a4551ebd1f9db3739e50439fa4c3c5d7
parentd6c51efc728d6e4e0cac7feae323b1d194404e2a
zero_to_err_ptr: handle parse errors better

One thing that I sometimes do is run smatch on code that can't compile
in a best effort sort of way.  In those cases, I ignore parse errors.
Where smatch doesn't know the type of a variable it ends up getting set
to long long type.  Ignore error pointer warnings in that situation.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
check_zero_to_err_ptr.c