qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	patches@linaro.org
Subject: [Qemu-devel] [PATCH 0/2] lsi53c895a: avoid integer undefined behaviours
Date: Fri, 23 Aug 2013 17:16:31 +0100	[thread overview]
Message-ID: <1377274593-8797-1-git-send-email-peter.maydell@linaro.org> (raw)

More patches to fix clang sanitizer warnings; in this case we
can fix them and clean up the code a bit by replacing hand-coded
operations with functions from the bitops header.

Peter Maydell (2):
  hw/scsi/lsi53c895a: Use sextract32 for sign-extension
  hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask

 hw/scsi/lsi53c895a.c |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

-- 
1.7.9.5

             reply	other threads:[~2013-08-23 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 16:16 Peter Maydell [this message]
2013-08-23 16:16 ` [Qemu-devel] [PATCH 1/2] hw/scsi/lsi53c895a: Use sextract32 for sign-extension Peter Maydell
2013-08-23 16:16 ` [Qemu-devel] [PATCH 2/2] hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask Peter Maydell
2013-08-26  7:49 ` [Qemu-devel] [PATCH 0/2] lsi53c895a: avoid integer undefined behaviours Paolo Bonzini

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=1377274593-8797-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=patches@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@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).