Re: [PATCH] tools/x86: kvm: fix comment typo

From: Sean Christopherson

Date: Tue Mar 31 2026 - 14:25:32 EST


On Mon, Mar 16, 2026, Joseph Salisbury wrote:
> The file contains a spelling error in a source comment (compatability).
>
> Typos in comments reduce readability and make text searches less reliable
> for developers and maintainers.
>
> Replace 'compatability' with 'compatibility' in the affected comment. This
> is a comment-only cleanup and does not change behavior.
>
> Fixes: c499d1f483a9 ("tools arch kvm: Sync kvm headers with the kernel sources")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Joseph Salisbury <joseph.salisbury@xxxxxxxxxx>
> ---
> tools/arch/x86/include/uapi/asm/kvm.h | 2 +-

tools/ headers are copies that are periodically synced from the kernel headers
and shouldn't be updated directly. Please send a patch to fix
arch/x86/include/uapi/asm/kvm.h.

> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/arch/x86/include/uapi/asm/kvm.h b/tools/arch/x86/include/uapi/asm/kvm.h
> index 7ceff6583652..f7d6f22ce5ef 100644
> --- a/tools/arch/x86/include/uapi/asm/kvm.h
> +++ b/tools/arch/x86/include/uapi/asm/kvm.h
> @@ -547,7 +547,7 @@ struct kvm_nested_state {
> } hdr;
>
> /*
> - * Define data region as 0 bytes to preserve backwards-compatability
> + * Define data region as 0 bytes to preserve backwards-compatibility
> * to old definition of kvm_nested_state in order to avoid changing
> * KVM_{GET,PUT}_NESTED_STATE ioctl values.
> */
> --
> 2.47.3
>