mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
misc: mods: fix userspace pointer type
Bug 3528414 Change-Id: I7376f3b51a0f1b9ee93be340634da4cf2f5fcbcc Signed-off-by: Chris Dragan <kdragan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2668746 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Ketan Patil <ketanp@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Laxman Dewangan
parent
fc5605722c
commit
5335da0508
@@ -1798,7 +1798,7 @@ static long mods_krnl_ioctl(struct file *fp,
|
||||
{
|
||||
int err = 0;
|
||||
void *arg_copy = NULL;
|
||||
void *arg = (void *)i_arg;
|
||||
void __user *arg = (void __user *)i_arg;
|
||||
struct mods_client *client = fp->private_data;
|
||||
int arg_size;
|
||||
char buf[64];
|
||||
|
||||
Reference in New Issue
Block a user