commit | 22fe9b54d859e53bfbbbdc1a0a77a82bc453927c | [log] [tgz] |
---|---|---|
author | Peter Huewe <peterhuewe@gmx.de> | Tue Jun 07 21:58:27 2011 +0200 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Jun 14 22:48:50 2011 -0400 |
tree | 4aec2d069decbe0786ad5474908f5bbe49732ad4 | |
parent | 749230b06a753a22f6ed96e5dd60815d6ab12865 [diff] |
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>