Commit 50f382a2 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by sanglipeng
Browse files

lib: cleanup kstrto*() usage

stable inclusion
from stable-v5.10.185
commit c2def5578b440f6ac45fcffcf766d968d7c3bea5
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8L5XP

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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Stable-dep-of: 4acfe3df ("test_firmware: prevent race conditions by a correct implementation of locking")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 805a5c7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment