[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-6.1? v2 0/9] Fixes for clang-13
From: |
Richard Henderson |
Subject: |
[PATCH for-6.1? v2 0/9] Fixes for clang-13 |
Date: |
Sun, 25 Jul 2021 02:24:07 -1000 |
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
- [PATCH for-6.1? v2 0/9] Fixes for clang-13,
Richard Henderson <=
- [PATCH for-6.1? v2 1/9] nbd/server: Mark variable unused in nbd_negotiate_meta_queries, Richard Henderson, 2021/07/25
- [PATCH for-6.1? v2 2/9] accel/tcg: Remove unused variable in cpu_exec, Richard Henderson, 2021/07/25
- [PATCH for-6.1? v2 4/9] net/checksum: Remove unused variable in net_checksum_add_iov, Richard Henderson, 2021/07/25
- [PATCH for-6.1? v2 3/9] util/selfmap: Discard mapping on error, Richard Henderson, 2021/07/25
- [PATCH for-6.1? v2 5/9] hw/audio/adlib: Remove unused variable in adlib_callback, Richard Henderson, 2021/07/25
- [PATCH for-6.1? v2 6/9] hw/ppc/spapr_events: Remove unused variable from check_exception, Richard Henderson, 2021/07/25