]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Staging: vme: silence a Sparse warning
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 6 Jul 2012 08:21:49 +0000 (11:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 23:23:59 +0000 (16:23 -0700)
commita7f3943cd055f73e82e1b57468286f3d7cf9fb27
tree8d4c9b2bd4708a0fe33b5165b14b7f99f543017d
parente97e6c4f9a5d23a1bd7141b6fa73e2f96282c03d
Staging: vme: silence a Sparse warning

Sparse complains that "arg" is not a __user pointer.  The "argp" and
"arg" variables are equivalent but argp is declared as a __user pointer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-By: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_user.c