[PATCH] xen/efi: efibind: Fix typo in comment

Frediano Ziglio posted 1 patch 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240916093557.67850-1-frediano.ziglio@cloud.com
xen/arch/x86/include/asm/x86_64/efibind.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xen/efi: efibind: Fix typo in comment
Posted by Frediano Ziglio 1 year, 1 month ago
expresion -> expression

Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com>
---
 xen/arch/x86/include/asm/x86_64/efibind.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/include/asm/x86_64/efibind.h b/xen/arch/x86/include/asm/x86_64/efibind.h
index 28bc18c24b..b29342c61c 100644
--- a/xen/arch/x86/include/asm/x86_64/efibind.h
+++ b/xen/arch/x86/include/asm/x86_64/efibind.h
@@ -176,7 +176,7 @@ typedef uint64_t   UINTN;
     #elif __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
         #define EFIAPI __attribute__((__ms_abi__))  // Force Microsoft ABI
     #else
-        #define EFIAPI          // Substitute expresion to force C calling convention
+        #define EFIAPI          // Substitute expression to force C calling convention
     #endif
 #endif
 
-- 
2.34.1
Re: [PATCH] xen/efi: efibind: Fix typo in comment
Posted by Jan Beulich 1 year, 1 month ago
On 16.09.2024 11:35, Frediano Ziglio wrote:
> --- a/xen/arch/x86/include/asm/x86_64/efibind.h
> +++ b/xen/arch/x86/include/asm/x86_64/efibind.h
> @@ -176,7 +176,7 @@ typedef uint64_t   UINTN;
>      #elif __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
>          #define EFIAPI __attribute__((__ms_abi__))  // Force Microsoft ABI
>      #else
> -        #define EFIAPI          // Substitute expresion to force C calling convention
> +        #define EFIAPI          // Substitute expression to force C calling convention
>      #endif
>  #endif

This is an imported header iirc, where I would recommend against
doing such cosmetic changes on our side without them having been
done to the original.

Jan