From: Peter Huewe Date: Tue, 7 Jun 2011 20:36:14 +0000 (+0200) Subject: net/mac80211/debugfs: Convert to kstrou8_from_user X-Git-Tag: v3.2-rc1~129^2~287^2^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38de31ffa870323c4f6957904303477c88fe905;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed