Redo checking for out of range args to ERR_PTR()1.52
authorDan Carpenter <error27@gmail.com>
Sat, 18 Apr 2009 13:21:23 +0000 (16:21 +0300)
committerDan Carpenter <error27@gmail.com>
Sat, 18 Apr 2009 13:21:23 +0000 (16:21 +0300)
commit74ef5b358574c0c13b5962fe9b5694e949470640
treeecc89155ea520663cd6295f6a59a8776c02c5071
parentb0c9f07df86564778335632b712ab596d2e828fa
Redo checking for out of range args to ERR_PTR()

The old check was almost totally useless.  This one still doesn't catch
any of this sort of bug, but I believe it's because the current kernel
doesn't have any.

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