projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34739fd
)
KVM: arm64: Remove unneeded semicolons
author
Changcheng Deng
<deng.changcheng@zte.com.cn>
Wed, 23 Feb 2022 09:27:50 +0000
(09:27 +0000)
committer
Marc Zyngier
<maz@kernel.org>
Fri, 25 Feb 2022 13:46:21 +0000
(13:46 +0000)
Fix the following coccicheck review:
./arch/arm64/kvm/psci.c: 379: 3-4: Unneeded semicolon
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
[maz: squashed another instance of the same issue in the patch]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link:
https://lore.kernel.org/r/20220223092750.1934130-1-deng.changcheng@zte.com.cn
Link:
https://lore.kernel.org/r/20220225122922.GA19390@willie-the-truck
arch/arm64/kvm/psci.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kvm/psci.c
b/arch/arm64/kvm/psci.c
index ecb4b74cb12a268a933c9fc0c5801ee041d6d239..0d48d1e7291d5ad18ade9279fabc969e3a96b2cf 100644
(file)
--- a/
arch/arm64/kvm/psci.c
+++ b/
arch/arm64/kvm/psci.c
@@
-376,7
+376,7
@@
static int kvm_psci_1_x_call(struct kvm_vcpu *vcpu, u32 minor)
ret = 0;
}
break;
- }
;
+ }
fallthrough;
default:
return kvm_psci_0_2_call(vcpu);
@@
-438,7
+438,7
@@
int kvm_psci_call(struct kvm_vcpu *vcpu)
return kvm_psci_0_1_call(vcpu);
default:
return -EINVAL;
- }
;
+ }
}
int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu)