qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [patch] fix typo in openpic timer test
@ 2004-12-23 13:15 Guillem Jover
  0 siblings, 0 replies; only message in thread
From: Guillem Jover @ 2004-12-23 13:15 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]

Hi,

This patch comes from warning triaging. It seems a typo in the
openpic timer test function.

Patch attached.

reagrds,
guillem

[-- Attachment #2: qemu-0.6.0_fix_openpic_timer_test.patch --]
[-- Type: text/plain, Size: 676 bytes --]

Package: qemu
Version: 0.6.0
Author: Guillem Jover <guillem@debian.org>
Status: not-applied
Description:
 Fix typo in openpic timer test.

diff -Naur qemu-0.6.0.dfsg.2.orig/hw/openpic.c qemu-0.6.0.dfsg.2/hw/openpic.c
--- qemu-0.6.0.dfsg.2.orig/hw/openpic.c	2004-07-10 20:20:09.000000000 +0200
+++ qemu-0.6.0.dfsg.2/hw/openpic.c	2004-11-15 08:44:01.000000000 +0100
@@ -629,7 +629,7 @@
         break;
     case 0x10: /* TIBC */
 	if ((opp->timers[idx].ticc & 0x80000000) != 0 &&
-	    (val & 0x800000000) == 0 &&
+	    (val & 0x80000000) == 0 &&
             (opp->timers[idx].tibc & 0x80000000) != 0)
 	    opp->timers[idx].ticc &= ~0x80000000;
 	opp->timers[idx].tibc = val;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-23 13:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-23 13:15 [Qemu-devel] [patch] fix typo in openpic timer test Guillem Jover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).