summaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2011-06-07 22:36:14 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-29 21:25:28 +0200
commitb38de31ffa870323c4f6957904303477c88fe905 (patch)
tree7f409292ea95bccb626c046572c3e2fd63c91107 /net/l2tp
parentMerge branch 'for-linville' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-b38de31ffa870323c4f6957904303477c88fe905.tar.xz
linux-b38de31ffa870323c4f6957904303477c88fe905.zip
net/mac80211/debugfs: Convert to kstrou8_from_user
This patch replaces the code for getting an number from a userspace buffer by a simple call to kstrou8_from_user. This makes it easier to read and less error prone. Since the old buffer was only 10 bytes long and the value is masked by a nibble-mask anyway, we don't need to use kstrtoul but rather kstrtou8. Kernel Version: v3.0-rc2 Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions