lib: cleanup kstrto*() usage
stable inclusion from stable-v5.10.185 commit c2def5578b440f6ac45fcffcf766d968d7c3bea5 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8J4KH Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c2def5578b440f6ac45fcffcf766d968d7c3bea5 -------------------------------- [ Upstream commit 506dfc99 ] Use proper conversion functions. kstrto*() variants exist for all standard types. Link: https://lkml.kernel.org/r/20201122123410.GB92364@localhost.localdomain Signed-off-by:Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Stable-dep-of: 4acfe3df ("test_firmware: prevent race conditions by a correct implementation of locking") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment