On Thu, Aug 13, 2026 at 11:05:17PM +0000, Edgecombe, Rick P wrote:
> --- a/tools/testing/selftests/kvm/lib/x86/tdx/td_boot_offsets.c
> +++ b/tools/testing/selftests/kvm/lib/x86/tdx/td_boot_offsets.c
> @@ -5,7 +5,7 @@
>
> #include "tdx/td_boot.h"
>
> -static void __used common(void)
> +static void __attribute__((used)) common(void)
> {
> OFFSET(TD_BOOT_PARAMETERS_CR0, td_boot_parameters, cr0);
> OFFSET(TD_BOOT_PARAMETERS_CR3, td_boot_parameters, cr3);
>
Thanks for testing this! The patch series posted here on the mailing
list is correct, but I made the mistake when pushing the code to the
branch.
I have just force-pushed the fix to the branch. It should compile
correctly now. Could you please pull the latest version and give it
another try?
Lisa