points_to_user_data: all calls to copy_from_user() set a user pointer
commitfe8712303f0bb8ae9c236180c8ee5725f69d5ed5
authorDan Carpenter <error27@gmail.com>
Thu, 2 Mar 2023 12:43:44 +0000 (2 15:43 +0300)
committerDan Carpenter <error27@gmail.com>
Thu, 2 Mar 2023 12:43:44 +0000 (2 15:43 +0300)
tree5d79de25913a9bf66030de00d6ea43551a27692b
parent90f2928178fcc714c1a1efe50f2af1c091fdcc84
points_to_user_data: all calls to copy_from_user() set a user pointer

Originally, the thought with this was that if we had a struct then it
would be handled by smatch_kernel_user_data.c but now copy_from_user()
is always handled here.  Plus this check was just totally bogus.

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