qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-6.1? v2 0/9] Fixes for clang-13
@ 2021-07-25 12:24 Richard Henderson
  2021-07-25 12:24 ` [PATCH for-6.1? v2 1/9] nbd/server: Mark variable unused in nbd_negotiate_meta_queries Richard Henderson
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Richard Henderson @ 2021-07-25 12:24 UTC (permalink / raw)
  To: qemu-devel

These are all "variable set but not used" Werrors when building
with clang master.

Patch 1 is clearly a clang bug, not considering the side-effects
of g_autofree, but the rest are legitimate.


r~


Richard Henderson (9):
  nbd/server: Mark variable unused in nbd_negotiate_meta_queries
  accel/tcg: Remove unused variable in cpu_exec
  util/selfmap: Discard mapping on error
  net/checksum: Remove unused variable in net_checksum_add_iov
  hw/audio/adlib: Remove unused variable in adlib_callback
  hw/ppc/spapr_events: Remove unused variable from check_exception
  hw/pci-hist/pnv_phb4: Fix typo in pnv_phb4_ioda_write
  linux-user/syscall: Remove unused variable from execve
  tests/unit: Remove unused variable from test_io

 accel/tcg/cpu-exec.c   | 10 ++--------
 hw/audio/adlib.c       |  3 +--
 hw/pci-host/pnv_phb4.c |  2 +-
 hw/ppc/spapr_events.c  |  5 -----
 linux-user/syscall.c   |  3 ---
 nbd/server.c           |  3 ++-
 net/checksum.c         |  4 +---
 tests/unit/test-iov.c  |  5 +----
 util/selfmap.c         | 29 +++++++++++++++++------------
 9 files changed, 25 insertions(+), 39 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2021-07-26 17:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25 12:24 [PATCH for-6.1? v2 0/9] Fixes for clang-13 Richard Henderson
2021-07-25 12:24 ` [PATCH for-6.1? v2 1/9] nbd/server: Mark variable unused in nbd_negotiate_meta_queries Richard Henderson
2021-07-26 10:16   ` Vladimir Sementsov-Ogievskiy
2021-07-26 14:53   ` Eric Blake
2021-07-25 12:24 ` [PATCH for-6.1? v2 2/9] accel/tcg: Remove unused variable in cpu_exec Richard Henderson
2021-07-25 12:24 ` [PATCH for-6.1? v2 3/9] util/selfmap: Discard mapping on error Richard Henderson
2021-07-26 15:37   ` Eric Blake
2021-07-25 12:24 ` [PATCH for-6.1? v2 4/9] net/checksum: Remove unused variable in net_checksum_add_iov Richard Henderson
2021-07-26 15:38   ` Eric Blake
2021-07-25 12:24 ` [PATCH for-6.1? v2 5/9] hw/audio/adlib: Remove unused variable in adlib_callback Richard Henderson
2021-07-25 12:24 ` [PATCH for-6.1? v2 6/9] hw/ppc/spapr_events: Remove unused variable from check_exception Richard Henderson
2021-07-25 12:24 ` [PATCH for-6.1? v2 7/9] hw/pci-hist/pnv_phb4: Fix typo in pnv_phb4_ioda_write Richard Henderson
2021-07-25 21:27   ` Philippe Mathieu-Daudé
2021-07-26  4:58     ` Benjamin Herrenschmidt
2021-07-26  6:58     ` Cédric Le Goater
2021-07-25 12:24 ` [PATCH for-6.1? v2 8/9] linux-user/syscall: Remove unused variable from execve Richard Henderson
2021-07-25 12:24 ` [PATCH for-6.1? v2 9/9] tests/unit: Remove unused variable from test_io Richard Henderson
2021-07-26 17:10 ` [PATCH for-6.1? v2 0/9] Fixes for clang-13 Richard Henderson

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