mm: fix typo in __vm_enough_memory warning
authorJakub Wilk <jwilk@jwilk.net>
Fri, 10 Feb 2023 20:33:16 +0000 (21:33 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 13 Feb 2023 23:54:33 +0000 (15:54 -0800)
Link: https://lkml.kernel.org/r/20230210203316.5613-1-jwilk@jwilk.net
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/util.c

index cec9327b27b4716aa4f49aae54c61249fe58bda8..b8ed9dbc7fd55b4dea595e64718315e939fd9bb3 100644 (file)
--- a/mm/util.c
+++ b/mm/util.c
@@ -967,7 +967,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);