On Fri, 18 Sep 2026 17:06:28 +0530, Gokul K wrote:
> Three unused things in the selftest library, found by asking the linker
> rather than by reading: build the selftests, then look for global symbols
> in lib/ that no object refers to, and check each survivor against the
> whole source tree by hand.
> 
>   1/3  sparsebit_copy() and sparsebit_num_set(), neither called
>   2/3  the declaration of vcpu_set_cpuid_maxphyaddr(), which has no
>        definition anywhere
>   3/3  guest_snprintf(), a varargs wrapper nobody calls
> 
> [...]

Applied 2 and 3 to kvm-x86 selftests, thanks!

[1/3] KVM: selftests: Delete the unused sparsebit copy and count helpers
      [SKIP, handled in a separate series]
[2/3] KVM: selftests: Delete the declaration of vcpu_set_cpuid_maxphyaddr()
      https://github.com/kvm-x86/linux/commit/dd572ec94640
[3/3] KVM: selftests: Delete the unused guest_snprintf()
      https://github.com/kvm-x86/linux/commit/3bac3b77c5e6

--
https://github.com/kvm-x86/linux/tree/next

Reply via email to