diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2011-06-06 21:32:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-28 14:35:41 -0700 |
commit | 6263ba551985ad7201d0e7f36672c7a0f57f61f4 (patch) | |
tree | ee4f9f8c081f830aa8a730ae33a33ca43dc13fb5 /block/blk-cgroup.h | |
parent | 919ed52f33a9250b5707804b1a84b4b7cbfe2333 (diff) | |
download | op-kernel-dev-6263ba551985ad7201d0e7f36672c7a0f57f61f4.zip op-kernel-dev-6263ba551985ad7201d0e7f36672c7a0f57f61f4.tar.gz |
staging: speakup: Use 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.
Kernel Version: staging of 20110606
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block/blk-cgroup.h')
0 files changed, 0 insertions, 0 deletions