err_ptr_deref: update to use newer api
commit17dd08ebda114ae9fc389a78a67e54a9b7f5c268
authorDan Carpenter <error27@gmail.com>
Fri, 12 Feb 2010 19:20:02 +0000 (12 22:20 +0300)
committerDan Carpenter <error27@gmail.com>
Fri, 12 Feb 2010 19:20:02 +0000 (12 22:20 +0300)
tree047a6950076765643f4c74062c236e1848bc541b
parent71a395fed126cbb8a90d419102cb9d9a0b58cdb9
err_ptr_deref:  update to use newer api

The return_implies_state() hooks are more powerful and better than the
add_conditional_hook() things.

This is the only place still using the old api and I want to delete it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_err_ptr_deref.c
validation/sm_err_ptr.c [new file with mode: 0644]