[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/4] hw/arm/virt: Avoid multiple lines of comments in virt_kvm_ty
|
From: |
Gavin Shan |
|
Subject: |
[PATCH 2/4] hw/arm/virt: Avoid multiple lines of comments in virt_kvm_type() |
|
Date: |
Fri, 9 Aug 2024 13:51:31 +1000 |
The comment needn't to span multiple lines and can be merged to
one line perfectly.
Signed-off-by: Gavin Shan <gshan@redhat.com>
---
hw/arm/virt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 83be57db37..09b7a158a9 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -3005,9 +3005,7 @@ static int virt_kvm_type(MachineState *ms, const char
*type_str)
requested_pa_size = 64 - clz64(vms->highest_gpa);
- /*
- * KVM requires the IPA size to be at least 32 bits.
- */
+ /* KVM requires the IPA size to be at least 32 bits */
if (requested_pa_size < 32) {
requested_pa_size = 32;
}
--
2.45.2