]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
authorFabiano Rosas <farosas@linux.ibm.com>
Tue, 25 Jan 2022 15:57:32 +0000 (12:57 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Feb 2022 05:50:44 +0000 (16:50 +1100)
commit5a658c78ff173a1daeb7d78aa0594751566cc8bf
treea7ba9082b7571ba9bd0281f7bac6c38b66a7e353
parent03babf6ef685816441c43014714dd1b5dad94f2b
KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init

The return of the function is being shadowed by the call to
kvmppc_uvmem_init.

Fixes: 5abf0fc0a10c ("KVM: PPC: Book3S HV: Support for running secure guests")
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220125155735.1018683-2-farosas@linux.ibm.com
arch/powerpc/kvm/book3s_hv.c