Verify that the value passed to ERR_PTR() isn't too negative.
commitf377d515a857e737c87604f44dba3754d079a6bd
authorDan Carpenter <error27@gmail.com>
Tue, 14 Apr 2009 13:11:54 +0000 (14 16:11 +0300)
committerDan Carpenter <error27@gmail.com>
Tue, 14 Apr 2009 13:11:54 +0000 (14 16:11 +0300)
tree97625d83f1ecd67b036de60abb80b8e9e10a3a69
parentd2f03404e14486593e4b43d339a524278c46bc58
Verify that the value passed to ERR_PTR() isn't too negative.

If the value is less than 4095, IS_ERR() breaks.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_err_ptr.c