]> 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)
commitb563b1b7851d9d0baf202eb384b8f088af4b900a
tree6c2c7856e7014bf58598aa7336ddec6b198c0ccf
parentc05a47737ed65963243050e2609d132a519a9e65
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