diff options
Diffstat (limited to 'arch/arm/kvm/coproc.c')
-rw-r--r-- | arch/arm/kvm/coproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kvm/coproc.c b/arch/arm/kvm/coproc.c index 37a0fe1bb9bb..7928dbdf2102 100644 --- a/arch/arm/kvm/coproc.c +++ b/arch/arm/kvm/coproc.c | |||
@@ -791,7 +791,7 @@ static bool is_valid_cache(u32 val) | |||
791 | u32 level, ctype; | 791 | u32 level, ctype; |
792 | 792 | ||
793 | if (val >= CSSELR_MAX) | 793 | if (val >= CSSELR_MAX) |
794 | return -ENOENT; | 794 | return false; |
795 | 795 | ||
796 | /* Bottom bit is Instruction or Data bit. Next 3 bits are level. */ | 796 | /* Bottom bit is Instruction or Data bit. Next 3 bits are level. */ |
797 | level = (val >> 1); | 797 | level = (val >> 1); |