summaryrefslogtreecommitdiffstats
path: root/hw/i386
diff options
context:
space:
mode:
authorMichael S. Tsirkin2020-11-02 11:09:19 +0100
committerMichael S. Tsirkin2020-11-03 13:19:26 +0100
commit54420332b595d4563d9c0e417d796baecd2debfa (patch)
treecd3c522b87e0724f66ce21cb25315919a183b85a /hw/i386
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20201102'... (diff)
downloadqemu-54420332b595d4563d9c0e417d796baecd2debfa.tar.gz
qemu-54420332b595d4563d9c0e417d796baecd2debfa.tar.xz
qemu-54420332b595d4563d9c0e417d796baecd2debfa.zip
pc: comment style fixup
Fix up checkpatch comment style warnings. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Chen Qun <kuhn.chenqun@huawei.com>
Diffstat (limited to 'hw/i386')
-rw-r--r--hw/i386/pc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 5e6c0023e0..17b514d1da 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1149,10 +1149,11 @@ void pc_basic_device_init(struct PCMachineState *pcms,
error_report("couldn't create HPET device");
exit(1);
}
- /* For pc-piix-*, hpet's intcap is always IRQ2. For pc-q35-1.7
- * and earlier, use IRQ2 for compat. Otherwise, use IRQ16~23,
- * IRQ8 and IRQ2.
- */
+ /*
+ * For pc-piix-*, hpet's intcap is always IRQ2. For pc-q35-1.7 and
+ * earlier, use IRQ2 for compat. Otherwise, use IRQ16~23, IRQ8 and
+ * IRQ2.
+ */
uint8_t compat = object_property_get_uint(OBJECT(hpet),
HPET_INTCAP, NULL);
if (!compat) {