Skip to content

Fix build with clang 23

Cédric Le Goater qemu-devel 1 version Applied

Status from this message: Applied to vfio-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5qemu-vmsr-helper: Actually drop privilegestools/i386/qemu-vmsr-helper.c+10 -01 reply
2/5qemu-keymap: Drop unused ctrl modifierqemu-keymap.c+0 -20 replies
3/5tests/qtest/migration: Drop orphaned tmpfs globaltests/qtest/migration/compression-tests.c+0 -51 reply
4/5tests/unit/test-qtree: Drop unused destroy counterstests/unit/test-qtree.c+0 -40 replies
5/5tests/unit/test-rcu-list: Drop unused n_nodes/n_updates counterstests/unit/test-rcu-list.c+0 -110 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFabiano RosasPeter Xu
SeriesR-b
1/5
2/5
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Fix build with clang 23

Hello,

clang 23 extended -Wunused-but-set-variable to file scope statics (-Wunused-but-set-global), failing the build on five set-but-never- read variables. Four are dead code; qemu-vmsr-helper is a real bug, the helper never dropped privileges.

These are long standing issues, so I would say not stable candidates, but it would be nice to have them in 11.2.

Cheers,

C.

Cédric Le Goater (5):
qemu-vmsr-helper: Actually drop privileges
qemu-keymap: Drop unused ctrl modifier tests/qtest/migration: Drop orphaned tmpfs global tests/unit/test-qtree: Drop unused destroy counters tests/unit/test-rcu-list: Drop unused n_nodes/n_updates counters

 qemu-keymap.c                             |  2 --
 tests/qtest/migration/compression-tests.c |  5 -----
 tests/unit/test-qtree.c                   |  4 ----
 tests/unit/test-rcu-list.c                | 11 -----------
 tools/i386/qemu-vmsr-helper.c             | 10 ++++++++++
 5 files changed, 10 insertions(+), 22 deletions(-)
Signature · 1 line
2.56.1