From: Steven Davis <goldside000@outlook.com>
To: akpm@linux-foundation.org, urezki@gmail.com, hch@infradead.org,
hannes@cmpxchg.org, yosryahmed@google.com, nphamcs@gmail.com,
chengming.zhou@linux.dev
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Steven Davis <goldside000@outlook.com>
Subject: [PATCH] mm: Capitalize letters for readability
Date: Thu, 25 Jul 2024 15:28:29 -0400 [thread overview]
Message-ID: <PH7P223MB1039C0F7DAC6FFB32F61DE48F7AB2@PH7P223MB1039.NAMP223.PROD.OUTLOOK.COM> (raw)
This patch capitalizes the first letters of error and
debug messages to enhance readability. This is important
for adhering to the style of other error messages in the
kernel, and making it easier and clearer to read the
messages upon the (likely dark) terminal.
Signed-off-by: Steven Davis <goldside000@outlook.com>
---
mm/execmem.c | 2 +-
mm/vmalloc.c | 2 +-
mm/zpool.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/execmem.c b/mm/execmem.c
index 0c4b36bc6d10..ce4334087b1b 100644
--- a/mm/execmem.c
+++ b/mm/execmem.c
@@ -40,7 +40,7 @@ static void *__execmem_alloc(struct execmem_range *range, size_t size)
}
if (!p) {
- pr_warn_ratelimited("execmem: unable to allocate memory\n");
+ pr_warn_ratelimited("execmem: Unable to allocate memory\n");
return NULL;
}
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 6b783baf12a1..131b05aef593 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -108,7 +108,7 @@ static int vmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end,
if (!pte_none(ptep_get(pte))) {
if (pfn_valid(pfn)) {
page = pfn_to_page(pfn);
- dump_page(page, "remapping already mapped page");
+ dump_page(page, "Remapping already mapped page");
}
BUG();
}
diff --git a/mm/zpool.c b/mm/zpool.c
index b9fda1fa857d..3c766a1d065b 100644
--- a/mm/zpool.c
+++ b/mm/zpool.c
@@ -198,7 +198,7 @@ struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp)
*/
void zpool_destroy_pool(struct zpool *zpool)
{
- pr_debug("destroying pool type %s\n", zpool->driver->type);
+ pr_debug("Destroying pool type %s\n", zpool->driver->type);
zpool->driver->destroy(zpool->pool);
zpool_put_driver(zpool->driver);
--
2.45.2
next reply other threads:[~2024-07-25 19:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 19:28 Steven Davis [this message]
2024-07-25 20:21 ` Andrew Morton
2024-07-25 20:49 ` Steven Davis
2024-07-25 21:27 ` Andrew Morton
2024-07-26 12:08 ` David Hildenbrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PH7P223MB1039C0F7DAC6FFB32F61DE48F7AB2@PH7P223MB1039.NAMP223.PROD.OUTLOOK.COM \
--to=goldside000@outlook.com \
--cc=akpm@linux-foundation.org \
--cc=chengming.zhou@linux.dev \
--cc=hannes@cmpxchg.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=nphamcs@gmail.com \
--cc=urezki@gmail.com \
--cc=yosryahmed@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox