diff mbox series

[2/4] hw/arm/virt: Avoid multiple lines of comments in virt_kvm_type()

Message ID 20240809035134.699830-3-gshan@redhat.com (mailing list archive)
State New, archived
Headers show
Series hw/arm/virt: Improve virt_kvm_type() | expand

Commit Message

Gavin Shan Aug. 9, 2024, 3:51 a.m. UTC
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 mbox series

Patch

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;
     }