qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <andreas.faerber@web.de>
To: qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com, "Andreas Färber" <andreas.faerber@web.de>
Subject: [Qemu-devel] [PATCH v4 1/3] apic: Fix accidental use of SoftFloat uint32 type
Date: Sun, 19 Dec 2010 17:22:39 +0100	[thread overview]
Message-ID: <1292775761-6061-2-git-send-email-andreas.faerber@web.de> (raw)
In-Reply-To: <1292775761-6061-1-git-send-email-andreas.faerber@web.de>

softfloat.h's uint32 type has least-width semantics.
Surrounding code uses uint32_t, so use uint32_t here, too.

v4:
* Summary change.

v3:
* Split off.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
---
 hw/apic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/apic.c b/hw/apic.c
index a5a53fb..ff581f0 100644
--- a/hw/apic.c
+++ b/hw/apic.c
@@ -765,7 +765,7 @@ static uint32_t apic_mem_readl(void *opaque, target_phys_addr_t addr)
     return val;
 }
 
-static void apic_send_msi(target_phys_addr_t addr, uint32 data)
+static void apic_send_msi(target_phys_addr_t addr, uint32_t data)
 {
     uint8_t dest = (addr & MSI_ADDR_DEST_ID_MASK) >> MSI_ADDR_DEST_ID_SHIFT;
     uint8_t vector = (data & MSI_DATA_VECTOR_MASK) >> MSI_DATA_VECTOR_SHIFT;
-- 
1.7.3.4

  reply	other threads:[~2010-12-19 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-19 16:22 [Qemu-devel] [PULL 0/3] Prepare removal of SoftFloat integer types Andreas Färber
2010-12-19 16:22 ` Andreas Färber [this message]
2010-12-19 16:22   ` [Qemu-devel] [PATCH v4 2/3] wdt_ib700: Fix accidental use of SoftFloat int64 type Andreas Färber
2010-12-19 16:22     ` [Qemu-devel] [PATCH v4 3/3] target-i386: Fix accidental use of SoftFloat uint64 type Andreas Färber
2010-12-20  6:42       ` Andreas Färber
2010-12-20 21:04 ` [Qemu-devel] Re: [PULL 0/3] Prepare removal of SoftFloat integer types Blue Swirl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1292775761-6061-2-git-send-email-andreas.faerber@web.de \
    --to=andreas.faerber@web.de \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).