Re: [RFC][PATCH] maccess,probe_kernel: Make write/read src constvoid *

From: Martin Schwidefsky
Date: Fri May 20 2011 - 07:01:31 EST


On Thu, 19 May 2011 13:08:56 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> maccess,probe_kernel: Make 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.
>
> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Acked-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/