]> git.baikalelectronics.ru Git - kernel.git/commit
b43legacy: replace simple_strtol() with kstrtoint()
authorchenqiwu <chenqiwu@xiaomi.com>
Wed, 19 Feb 2020 04:15:59 +0000 (12:15 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Mar 2020 13:40:45 +0000 (15:40 +0200)
commite57f829dfa95f3358ce9fad061179aebf53d1ac7
tree6c2c7856e7014bf58598aa7336ddec6b198c0ccf
parent91fb260c248d142bc23b2f7d8e84d393c3792f3a
b43legacy: replace simple_strtol() with kstrtoint()

The simple_strtol() function is deprecated since it does not
check for the range overflow. Use kstrtoint() instead.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/b43legacy/sysfs.c