diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2023-02-10 21:33:16 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-14 00:54:33 +0100 |
commit | 6bdfc60cf0f9771d592a006dcd2cf6e40e1ccd79 (patch) | |
tree | 99f26e2d3b17052ce055ecc9e0a02b5de0c9884c /mm/util.c | |
parent | mm/damon/dbgfs: print DAMON debugfs interface deprecation message (diff) | |
download | linux-6bdfc60cf0f9771d592a006dcd2cf6e40e1ccd79.tar.xz linux-6bdfc60cf0f9771d592a006dcd2cf6e40e1ccd79.zip |
mm: fix typo in __vm_enough_memory warning
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>
Diffstat (limited to 'mm/util.c')
-rw-r--r-- | mm/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/util.c b/mm/util.c index cec9327b27b4..b8ed9dbc7fd5 100644 --- 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); |