diff mbox series

mm: Fix typo in __vm_enough_memory warning

Message ID 20230210203316.5613-1-jwilk@jwilk.net (mailing list archive)
State New
Headers show
Series mm: Fix typo in __vm_enough_memory warning | expand

Commit Message

Jakub Wilk Feb. 10, 2023, 8:33 p.m. UTC
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
---
 mm/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mike Rapoport Feb. 12, 2023, 3:33 p.m. UTC | #1
On Fri, Feb 10, 2023 at 09:33:16PM +0100, Jakub Wilk wrote:
> Signed-off-by: Jakub Wilk <jwilk@jwilk.net>

Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>

> ---
>  mm/util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/util.c b/mm/util.c
> index b56c92fb910f..de9b494ab601 100644
> --- a/mm/util.c
> +++ b/mm/util.c
> @@ -945,7 +945,7 @@ int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin)
>  	if (percpu_counter_read_positive(&vm_committed_as) < allowed)
>  		return 0;
>  error:
> -	pr_warn_ratelimited("%s: pid: %d, comm: %s, no enough memory for the allocation\n",
> +	pr_warn_ratelimited("%s: pid: %d, comm: %s, not enough memory for the allocation\n",
>  			    __func__, current->pid, current->comm);
>  	vm_unacct_memory(pages);
>  
> -- 
> 2.39.1
> 
>
diff mbox series

Patch

diff --git a/mm/util.c b/mm/util.c
index b56c92fb910f..de9b494ab601 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -945,7 +945,7 @@  int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin)
 	if (percpu_counter_read_positive(&vm_committed_as) < allowed)
 		return 0;
 error:
-	pr_warn_ratelimited("%s: pid: %d, comm: %s, no enough memory for the allocation\n",
+	pr_warn_ratelimited("%s: pid: %d, comm: %s, not enough memory for the allocation\n",
 			    __func__, current->pid, current->comm);
 	vm_unacct_memory(pages);