OSDN Git Service

ia64: replace IS_ERR() with IS_ERR_VALUE()
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 20 Oct 2022 11:30:04 +0000 (11:30 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Nov 2022 21:55:07 +0000 (13:55 -0800)
commit1c6dbcc4dae761800df0c29a7147c3b6c38f0c8d
treece1bea3c5103ebd325e0be5eea4fc0a765537828
parent941baf6febaa88c057192084ca280d976c7c7239
ia64: replace IS_ERR() with IS_ERR_VALUE()

Avoid typecasts that are needed for IS_ERR() and use IS_ERR_VALUE()
instead.

Link: https://lkml.kernel.org/r/20221020113004.400031-1-ye.xingchen@zte.com.cn
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/ia64/kernel/sys_ia64.c