qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: patches@linaro.org, Stefan Weil <sw@weilnetz.de>,
	Alexander Graf <agraf@suse.de>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Cornelia Huck <cornelia.huck@de.ibm.com>,
	Richard Henderson <rth@twiddle.net>
Subject: [Qemu-devel] [PATCH v2 0/2] s390: fix clang warnings
Date: Mon, 26 Jan 2015 16:28:29 +0000	[thread overview]
Message-ID: <1422289711-14103-1-git-send-email-peter.maydell@linaro.org> (raw)

These two patches fix warnings generated by clang; I'm hoping we can
clear up the handful of remaining clang warnings so I can turn on
warnings-as-errors for my builds I do before applying pullreqs, and
then we can keep the clang builds warning-free.

For the disassembler code, I opted to simply delete the unused
data tables. The other thing we've done in some of the disassemblers
is to just #if-0 out the code, but that's mostly been where it's
something we might use in future, and I think this table is for
the benefit of the assembler, not the disassembler.

I sent these patches out just before Christmas; Stefan pointed
out a minor error in the commit message of patch 1, but they
are otherwise unchanged from v1.

Peter Maydell (2):
  target-s390x: Mark check_privileged() as !CONFIG_USER_ONLY
  disas/s390.c: Remove unused variables

 disas/s390.c             | 35 -----------------------------------
 target-s390x/translate.c |  2 ++
 2 files changed, 2 insertions(+), 35 deletions(-)

-- 
1.9.1

             reply	other threads:[~2015-01-26 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 16:28 Peter Maydell [this message]
2015-01-26 16:28 ` [Qemu-devel] [PATCH v2 1/2] target-s390x: Mark check_privileged() as !CONFIG_USER_ONLY Peter Maydell
2015-01-26 16:28 ` [Qemu-devel] [PATCH v2 2/2] disas/s390.c: Remove unused variables Peter Maydell

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=1422289711-14103-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=agraf@suse.de \
    --cc=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=patches@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=sw@weilnetz.de \
    /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).