From: Jiale Yang <295107659@qq.com>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Jiale Yang <295107659@qq.com>
Subject: [PATCH] mm: Change type of cma_area_count to unsigned int.
Date: Wed, 20 Nov 2024 11:01:35 +0000 [thread overview]
Message-ID: <tencent_1E5E3AA25C261196D8C1F7097F130E382008@qq.com> (raw)
Prefer 'unsigned int' over plain 'unsigned'. Also make it
consistent with mm/cma.c
Signed-off-by: Jiale Yang <295107659@qq.com>
---
mm/cma.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/cma.h b/mm/cma.h
index ad61cc6dd..8485ef893 100644
--- a/mm/cma.h
+++ b/mm/cma.h
@@ -36,7 +36,7 @@ struct cma {
};
extern struct cma cma_areas[MAX_CMA_AREAS];
-extern unsigned cma_area_count;
+extern unsigned int cma_area_count;
static inline unsigned long cma_bitmap_maxno(struct cma *cma)
{
--
2.47.0
reply other threads:[~2024-11-20 3:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=tencent_1E5E3AA25C261196D8C1F7097F130E382008@qq.com \
--to=295107659@qq.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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