]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Use consistent type for return value of kvm_age_rmapp()
authorBo Liu <liubo03@inspur.com>
Fri, 1 Apr 2022 06:52:52 +0000 (02:52 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 18 May 2022 13:34:39 +0000 (23:34 +1000)
commit3ae684b306d3bb97f096375a14d92107888ae00d
tree034d6c8ca61225d224f6d0e2c8ba56d3d210008c
parentf0ef972d46d1e977aaf0ceede17867d2555ad3b3
KVM: PPC: Book3S HV: Use consistent type for return value of kvm_age_rmapp()

The return value type defined in the function kvm_age_rmapp() is
"bool", but the return value type defined in the implementation of the
function kvm_age_rmapp() is "int".

Change the return value type to "bool".

Signed-off-by: Bo Liu <liubo03@inspur.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220401065252.36472-1-liubo03@inspur.com
arch/powerpc/kvm/book3s_64_mmu_hv.c