maccess,probe_kernel: Make write/read src const void *
authorSteven Rostedt <srostedt@redhat.com>
Thu, 19 May 2011 18:35:33 +0000 (14:35 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 25 May 2011 23:56:23 +0000 (19:56 -0400)
commitf29c50419c8d1998edd759f1990c4243a248f469
treebf75e1376757022dcb54a12eea705f6086649edd
parent6e9101aeec39961308176e0f59e73ac5d37d243a
maccess,probe_kernel: Make write/read src const void *

The functions probe_kernel_write() and probe_kernel_read() do not modify
the src pointer. Allow const pointers to be passed in without the need
of a typecast.

Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1305824936.1465.4.camel@gandalf.stny.rr.com
arch/blackfin/mm/maccess.c
arch/s390/mm/maccess.c
include/linux/uaccess.h
mm/maccess.c