linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: Change type of cma_area_count to unsigned int.
@ 2024-11-20 11:01 Jiale Yang
  0 siblings, 0 replies; only message in thread
From: Jiale Yang @ 2024-11-20 11:01 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, Jiale Yang

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-20  3:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-20 11:01 [PATCH] mm: Change type of cma_area_count to unsigned int Jiale Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox