wlcore: fix sparse warning
authorEliad Peller <eliad@wizery.com>
Mon, 29 Dec 2014 06:24:02 +0000 (08:24 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 9 Jan 2015 13:47:51 +0000 (15:47 +0200)
commit16129d1d59be0f330f80b33fef8a7a7d7b18394d
tree9f2caa7c2195740ccd3752a1103d3287a4b8cbb9
parentd6b984816b902c73b2273c6088f52660a54c2034
wlcore: fix sparse warning

Use kstrtoul_from_user() for reading the user value,
and fix the following sparse warning:

drivers/net/wireless/ti/wlcore/debugfs.c:937:15: error: incompatible
types in comparison expression (different type sizes)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/debugfs.c