Skip to content
Commit 22fe9b54 authored by Peter Huewe's avatar Peter Huewe Committed by Steven Rostedt
Browse files

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: default avatarPeter Huewe <peterhuewe@gmx.de>
Link: http://lkml.kernel.org/r/1307476707-14762-1-git-send-email-peterhuewe@gmx.de


Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 749230b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment