[PATCH] UAPI: fix a spelling mistake

Zhang Jiaming posted 1 patch 3 years, 10 months ago
arch/powerpc/include/uapi/asm/bootx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] UAPI: fix a spelling mistake
Posted by Zhang Jiaming 3 years, 10 months ago
Change 'informations' to 'information'.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 arch/powerpc/include/uapi/asm/bootx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/uapi/asm/bootx.h b/arch/powerpc/include/uapi/asm/bootx.h
index 6728c7e24e58..eb0769e50e93 100644
--- a/arch/powerpc/include/uapi/asm/bootx.h
+++ b/arch/powerpc/include/uapi/asm/bootx.h
@@ -60,7 +60,7 @@ typedef struct boot_info_map_entry
 } boot_info_map_entry_t;
 
 
-/* Here are the boot informations that are passed to the bootstrap
+/* Here are the boot information that are passed to the bootstrap
  * Note that the kernel arguments and the device tree are appended
  * at the end of this structure. */
 typedef struct boot_infos
-- 
2.34.1
Re: [PATCH] UAPI: fix a spelling mistake
Posted by Randy Dunlap 3 years, 10 months ago
Hi--

On 6/28/22 23:27, Zhang Jiaming wrote:
> Change 'informations' to 'information'.
> 
> Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
> ---
>  arch/powerpc/include/uapi/asm/bootx.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/include/uapi/asm/bootx.h b/arch/powerpc/include/uapi/asm/bootx.h
> index 6728c7e24e58..eb0769e50e93 100644
> --- a/arch/powerpc/include/uapi/asm/bootx.h
> +++ b/arch/powerpc/include/uapi/asm/bootx.h
> @@ -60,7 +60,7 @@ typedef struct boot_info_map_entry
>  } boot_info_map_entry_t;
>  
>  
> -/* Here are the boot informations that are passed to the bootstrap
> +/* Here are the boot information that are passed to the bootstrap

I would say:

/* Here is the boot information that is passed to the bootstrap.

I.e., use "is" instead of "are" and add a period at the end.

>   * Note that the kernel arguments and the device tree are appended
>   * at the end of this structure. */
>  typedef struct boot_infos

-- 
~Randy