tracing: Convert to kstrtoul_from_user
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 7 Jun 2011 19:58:27 +0000 (21:58 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 15 Jun 2011 02:48:50 +0000 (22:48 -0400)
commit22fe9b54d859e53bfbbbdc1a0a77a82bc453927c
tree4aec2d069decbe0786ad5474908f5bbe49732ad4
parent749230b06a753a22f6ed96e5dd60815d6ab12865
tracing: Convert to kstrtoul_from_user

This patch replaces the code for getting an unsigned long from a
userspace buffer by a simple call to kstroul_from_user.
This makes it easier to read and less error prone.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Link: http://lkml.kernel.org/r/1307476707-14762-1-git-send-email-peterhuewe@gmx.de
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/ring_buffer.c
kernel/trace/trace.c
kernel/trace/trace_events.c
kernel/trace/trace_stack.c