[PATCH v2] Documentation: admin-guide: Fix bracket

Manuel Ebner posted 1 patch 3 weeks, 1 day ago
Documentation/admin-guide/sysctl/vm.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] Documentation: admin-guide: Fix bracket
Posted by Manuel Ebner 3 weeks, 1 day ago
Add missing ')' and remove ';' to improve readability.

Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
---

[v2]
 Remove ';' as Randy Suggested
[v1]
 https://lore.kernel.org/all/20260902152347.708070-2-manuelebnerli@mailbox.org/
---
 Documentation/admin-guide/sysctl/vm.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/sysctl/vm.rst b/Documentation/admin-guide/sysctl/vm.rst
index 5b318d17a..5f4a056e4 100644
--- a/Documentation/admin-guide/sysctl/vm.rst
+++ b/Documentation/admin-guide/sysctl/vm.rst
@@ -438,7 +438,7 @@ zone[i]'s protection[j] is calculated by following expression::
     = (total sums of managed_pages from zone[i+1] to zone[j] on the node)
       / lowmem_reserve_ratio[i];
   (i = j):
-     (should not be protected. = 0;
+     (should not be protected. = 0)
   (i > j):
      (not necessary, but looks 0)
 
-- 
2.54.0
Re: [PATCH v2] Documentation: admin-guide: Fix bracket
Posted by Jonathan Corbet 2 weeks, 4 days ago
Manuel Ebner <manuelebnerli@mailbox.org> writes:

> Add missing ')' and remove ';' to improve readability.
>
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
>
> [v2]
>  Remove ';' as Randy Suggested
> [v1]
>  https://lore.kernel.org/all/20260902152347.708070-2-manuelebnerli@mailbox.org/
> ---
>  Documentation/admin-guide/sysctl/vm.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/sysctl/vm.rst b/Documentation/admin-guide/sysctl/vm.rst
> index 5b318d17a..5f4a056e4 100644
> --- a/Documentation/admin-guide/sysctl/vm.rst
> +++ b/Documentation/admin-guide/sysctl/vm.rst
> @@ -438,7 +438,7 @@ zone[i]'s protection[j] is calculated by following expression::
>      = (total sums of managed_pages from zone[i+1] to zone[j] on the node)
>        / lowmem_reserve_ratio[i];
>    (i = j):
> -     (should not be protected. = 0;
> +     (should not be protected. = 0)
>    (i > j):
>       (not necessary, but looks 0)

Applied, thanks.

jon