From: Malkoot Khan <engr.mkhan1990@gmail.com>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Malkoot Khan <engr.mkhan1990@gmail.com>
Subject: [PATCH 2/2] mm/cma: Use 'unsigned int' for cma_area_count type clarity
Date: Fri, 29 Dec 2023 15:32:38 +0000 [thread overview]
Message-ID: <20231229153238.153627-2-engr.mkhan1990@gmail.com> (raw)
In-Reply-To: <20231229153238.153627-1-engr.mkhan1990@gmail.com>
Replace 'unsigned' with 'unsigned int' for the variable cma_area_count.
Signed-off-by: Malkoot Khan <engr.mkhan1990@gmail.com>
---
mm/cma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/cma.c b/mm/cma.c
index 01ccd26e8bc2..dd3c39d30ad6 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -37,7 +37,7 @@
#include "cma.h"
struct cma cma_areas[MAX_CMA_AREAS];
-unsigned cma_area_count;
+unsigned int cma_area_count;
static DEFINE_MUTEX(cma_mutex);
phys_addr_t cma_get_base(const struct cma *cma)
--
2.34.1
next prev parent reply other threads:[~2023-12-29 15:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-29 15:32 [PATCH 1/2] mm/cma: Move opening brace to next line for coding style Malkoot Khan
2023-12-29 15:32 ` Malkoot Khan [this message]
2023-12-29 15:39 ` [PATCH 2/2] mm/cma: Use 'unsigned int' for cma_area_count type clarity Matthew Wilcox
2023-12-30 16:06 ` malkoot khan
2023-12-29 15:38 ` [PATCH 1/2] mm/cma: Move opening brace to next line for coding style Matthew Wilcox
2023-12-30 16:00 ` malkoot khan
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=20231229153238.153627-2-engr.mkhan1990@gmail.com \
--to=engr.mkhan1990@gmail.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