KVM: x86: Replace IS_ERR() with IS_ERR_VALUE()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 16 Nov 2022 09:18:43 +0000 (17:18 +0800)
committerSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 18:42:09 +0000 (10:42 -0800)
commit2eb398df77a1bae6839df39193f6bca35ea65f87
treec09dde12b87c2b9d2c449ed7d2640f40b09ebde1
parenta2b07fa7b93321c059af0c6d492cc9a4f1e390aa
KVM: x86: Replace IS_ERR() with IS_ERR_VALUE()

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

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202211161718436948912@zte.com.cn
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c