powerpc/rtas: Replaced simple_strtoull() with kstrtoull()
authorChen Huang <chenhuang5@huawei.com>
Wed, 26 May 2021 09:20:18 +0000 (09:20 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 May 2022 09:37:44 +0000 (19:37 +1000)
commit08d61b46c53fc5fe1ed2c36019ae8240cfba15d0
treea198f25b9ea4cd2e0153173b2a8026a5254e23e0
parent59510820fff76fa6165a8adeafd072e62c16cc5d
powerpc/rtas: Replaced simple_strtoull() with kstrtoull()

The simple_strtoull() function is deprecated in some situation, since
it does not check for the range overflow, use kstrtoull() instead.

Signed-off-by: Chen Huang <chenhuang5@huawei.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210526092020.554341-1-chenhuang5@huawei.com
arch/powerpc/kernel/rtas-proc.c