check_user_data: mark kvm_register_read() as returning user data
commitdb523bc63f888a00922a51e5c14a56024b932388
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 3 Jul 2018 15:38:40 +0000 (3 18:38 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 3 Jul 2018 15:38:40 +0000 (3 18:38 +0300)
treeb106f3bc7c7c7b453d4078e5cd20a6f25682e8a7
parente54409ef18a88a88553f7a705cd6c04cda9ca238
check_user_data: mark kvm_register_read() as returning user data

The main thing from this patch is:

add_function_assign_hook("kvm_register_read", &match_returns_user_rl, NULL);

But I wanted to rename the function because that's a simple_strtoul
function.  Then I noticed that we should be taking the type of the function
and casting that range list to the variable we're assigning it to.  It
probably doesn't make a big difference in real life, but it's more correct.

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