]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit062d5d9c402996bdfc249d3bcd1b8db93d1d7d96
tree9f2caa7c2195740ccd3752a1103d3287a4b8cbb9
parent740780c39477f531bbaa01c8eac778bd2221ce2e
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