Skip to content
Commit bbd5ba8d authored by Bixuan Cui's avatar Bixuan Cui Committed by Anup Patel
Browse files

RISC-V: KVM: fix boolreturn.cocci warnings



Fix boolreturn.cocci warnings:
./arch/riscv/kvm/mmu.c:603:9-10: WARNING: return of 0/1 in function
'kvm_age_gfn' with return type bool
./arch/riscv/kvm/mmu.c:582:9-10: WARNING: return of 0/1 in function
'kvm_set_spte_gfn' with return type bool
./arch/riscv/kvm/mmu.c:621:9-10: WARNING: return of 0/1 in function
'kvm_test_age_gfn' with return type bool
./arch/riscv/kvm/mmu.c:568:9-10: WARNING: return of 0/1 in function
'kvm_unmap_gfn_range' with return type bool

Signed-off-by: default avatarBixuan Cui <cuibixuan@linux.alibaba.com>
Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 7b161d9c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment