qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] s390: fix clang warnings
@ 2014-12-23 22:18 Peter Maydell
  2014-12-23 22:18 ` [Qemu-devel] [PATCH 1/2] target-s390x: Mark op_csp() as !CONFIG_USER_ONLY Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Maydell @ 2014-12-23 22:18 UTC (permalink / raw)
  To: qemu-devel
  Cc: Cornelia Huck, Christian Borntraeger, Alexander Graf,
	Richard Henderson

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.

Peter Maydell (2):
  target-s390x: Mark op_csp() 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-29  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-23 22:18 [Qemu-devel] [PATCH 0/2] s390: fix clang warnings Peter Maydell
2014-12-23 22:18 ` [Qemu-devel] [PATCH 1/2] target-s390x: Mark op_csp() as !CONFIG_USER_ONLY Peter Maydell
2014-12-23 22:18 ` [Qemu-devel] [PATCH 2/2] disas/s390.c: Remove unused variables Peter Maydell
2014-12-29  8:36 ` [Qemu-devel] [PATCH 0/2] s390: fix clang warnings Stefan Weil

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).