Re: [kvm-unit-tests PATCH 1/3] x86: fix "format not a string literal" errors

Radim Krčmář
2017-06-07T14:24:36Z

2017-05-24 14:31-0700, David Matlack:
> Fix the following two compilation errors:
>
> x86/msr.c: In function ‘test_msr_rw’:
> x86/msr.c:94:5: error: format not a string literal and no format arguments [-Werror=format-security]
> report(sptr, expected == r);
> ^
>
> x8e/vmx.c: In function ‘test_vmx_caps’:
> x86/vmx.c:1412:3: error: format not a string literal and no format arguments [-Werror=format-security]
> report(vmx_ctl_msr[n].name, ok);
> ^
>
> Signed-off-by: David Matlack <dmatlack@google.com>
> ---

Applied all, thanks. Looks like rawhide fedora's GCC is too old.