tools/x86: kvm: fix comment typo
PATCH 1/1 tools/x86: kvm: fix comment typo
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.
--- tools/arch/x86/include/uapi/asm/kvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/arch/x86/include/uapi/asm/kvm.h +1 -1
@@ -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. */
Signature · 1 line
2.47.3
Re: [External] : [PATCH] tools/x86: kvm: fix comment typo
Quoted 20 lines · Joseph Salisbury
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")Signed-off-by Joseph Salisbury <[email protected]>--- tools/arch/x86/include/uapi/asm/kvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/arch/x86/include/uapi/asm/kvm.h +0
-0
tools/arch/x86/include/uapi/asm/kvm.h struct kvm_nested_state { · line 553
Quoted 8 lines
tools/arch/x86/include/uapi/asm/kvm.h +1
-1@@ -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. */
I inadvertently added Fixes: and Cc: stable tags. If possible, please remove them as they are not appropriate for fixes to misspellings in code comments. If it's not possible to remove them, I can send a v2.
Quoted 5 lines · Joseph Salisbury
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.
Quoted 8 lines
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")Signed-off-by Joseph Salisbury <[email protected]>--- 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.
Quoted 18 lines
1 file changed, 1 insertion(+), 1 deletion(-)tools/arch/x86/include/uapi/asm/kvm.h +1
-1@@ -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. */ Signature · 1 line
2.47.3