All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH 0/2] Fix Clang 24 -Wunused-but-set-global warnings
@ 2026-10-22 20:44 Yosry Ahmed
  2026-10-22 20:44 ` [kvm-unit-tests PATCH 1/2] chr-testdev: Remove unused in_vq Yosry Ahmed
  2026-10-22 20:44 ` [kvm-unit-tests PATCH 2/2] x86/desc: Remove unused exception flag Yosry Ahmed
  0 siblings, 2 replies; 4+ messages in thread
From: Yosry Ahmed @ 2026-10-22 20:44 UTC (permalink / raw)
  To: Paolo Bonzini, Thomas Huth, Andrew Jones; +Cc: Greg Thelen, kvm, Yosry Ahmed

Building kvm-unit-tests with Clang 24 fails with -Werror due to the new
-Wunused-but-set-global warning flagging static variables that are
written to but never read in lib/chr-testdev.c and lib/x86/desc.c.

Remove both unused variables.

Yosry Ahmed (2):
  chr-testdev: Remove unused in_vq
  x86/desc: Remove unused exception flag

 lib/chr-testdev.c | 3 +--
 lib/x86/desc.c    | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)


base-commit: 5a221342a025948fa7d84f0c404748f6ba57f3ad
-- 
2.56.0.257.gf7497c7d27-goog


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

end of thread, other threads:[~2026-10-23  9:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-22 20:44 [kvm-unit-tests PATCH 0/2] Fix Clang 24 -Wunused-but-set-global warnings Yosry Ahmed
2026-10-22 20:44 ` [kvm-unit-tests PATCH 1/2] chr-testdev: Remove unused in_vq Yosry Ahmed
2026-10-23  9:58   ` Andrew Jones
2026-10-22 20:44 ` [kvm-unit-tests PATCH 2/2] x86/desc: Remove unused exception flag Yosry Ahmed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.