KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
stable inclusion from stable-v5.10.110 commit c18b538617967581087fb946a556db42949b3ac4 bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c18b538617967581087fb946a556db42949b3ac4 -------------------------------- [ Upstream commit 69ab6ac3 ] The return of the function is being shadowed by the call to kvmppc_uvmem_init. Fixes: ca9f4942 ("KVM: PPC: Book3S HV: Support for running secure guests") Signed-off-by: NFabiano Rosas <farosas@linux.ibm.com> Reviewed-by: NNicholas Piggin <npiggin@gmail.com> Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220125155735.1018683-2-farosas@linux.ibm.comSigned-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYu Liao <liaoyu15@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录