aboutsummaryrefslogtreecommitdiff
path: root/hw/timer
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2021-10-29 23:02:09 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-10-30 11:46:39 +0200
commit221389657aa77ced7a17936747f288193e321d3f (patch)
treefc025344ea89218c3001f7c1dbd4528a535df7e1 /hw/timer
parentb3793b8a9183d6019f557263bbddd647e1918394 (diff)
downloadqemu-221389657aa77ced7a17936747f288193e321d3f.zip
qemu-221389657aa77ced7a17936747f288193e321d3f.tar.gz
qemu-221389657aa77ced7a17936747f288193e321d3f.tar.bz2
hw/sh4: Coding style: Fix multi-line comments
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp> Message-Id: <3f192c699f4e5949ec0fcc436e5610f50afe2dbf.1635541329.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/timer')
-rw-r--r--hw/timer/sh_timer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/timer/sh_timer.c b/hw/timer/sh_timer.c
index 58af1a1..4f765b3 100644
--- a/hw/timer/sh_timer.c
+++ b/hw/timer/sh_timer.c
@@ -104,9 +104,10 @@ static void sh_timer_write(void *opaque, hwaddr offset,
case OFFSET_TCR:
ptimer_transaction_begin(s->timer);
if (s->enabled) {
- /* Pause the timer if it is running. This may cause some
- inaccuracy dure to rounding, but avoids a whole lot of other
- messyness. */
+ /*
+ * Pause the timer if it is running. This may cause some inaccuracy
+ * dure to rounding, but avoids a whole lot of other messyness
+ */
ptimer_stop(s->timer);
}
freq = s->freq;