[PATCH] Documentation/kernel-parameters: fix typo in description of reserve_mem

Mike Rapoport posted 1 patch 10 months ago
Documentation/admin-guide/kernel-parameters.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Documentation/kernel-parameters: fix typo in description of reserve_mem
Posted by Mike Rapoport 10 months ago
From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>

The format description of reserve_mem uses [KNG] as units, rather than
[KMG].

Fix it.

Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
---
 Documentation/admin-guide/kernel-parameters.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index fb8752b42ec8..bf00552908bc 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -6082,7 +6082,7 @@
 			is assumed to be I/O ports; otherwise it is memory.
 
 	reserve_mem=	[RAM]
-			Format: nn[KNG]:<align>:<label>
+			Format: nn[KMG]:<align>:<label>
 			Reserve physical memory and label it with a name that
 			other subsystems can use to access it. This is typically
 			used for systems that do not wipe the RAM, and this command
-- 
2.47.2
Re: [PATCH] Documentation/kernel-parameters: fix typo in description of reserve_mem
Posted by Jonathan Corbet 10 months ago
Mike Rapoport <rppt@kernel.org> writes:

> From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
>
> The format description of reserve_mem uses [KNG] as units, rather than
> [KMG].
>
> Fix it.
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
> ---
>  Documentation/admin-guide/kernel-parameters.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index fb8752b42ec8..bf00552908bc 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -6082,7 +6082,7 @@
>  			is assumed to be I/O ports; otherwise it is memory.
>  
>  	reserve_mem=	[RAM]
> -			Format: nn[KNG]:<align>:<label>
> +			Format: nn[KMG]:<align>:<label>
>  			Reserve physical memory and label it with a name that

Applied, thanks.

jon
Re: [PATCH] Documentation/kernel-parameters: fix typo in description of reserve_mem
Posted by Randy Dunlap 10 months ago
On February 17, 2025 11:08:45 PM PST, Mike Rapoport <rppt@kernel.org> wrote:
>From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
>
>The format description of reserve_mem uses [KNG] as units, rather than
>[KMG].
>
>Fix it.
>
>Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

>---
> Documentation/admin-guide/kernel-parameters.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
>index fb8752b42ec8..bf00552908bc 100644
>--- a/Documentation/admin-guide/kernel-parameters.txt
>+++ b/Documentation/admin-guide/kernel-parameters.txt
>@@ -6082,7 +6082,7 @@
> 			is assumed to be I/O ports; otherwise it is memory.
> 
> 	reserve_mem=	[RAM]
>-			Format: nn[KNG]:<align>:<label>
>+			Format: nn[KMG]:<align>:<label>
> 			Reserve physical memory and label it with a name that
> 			other subsystems can use to access it. This is typically
> 			used for systems that do not wipe the RAM, and this command


~Randy