projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f3ab2
)
mm: change type of cma_area_count to unsigned int
author
Jiale Yang
<295107659@qq.com>
Wed, 20 Nov 2024 11:01:35 +0000
(11:01 +0000)
committer
Andrew Morton
<akpm@linux-foundation.org>
Tue, 14 Jan 2025 06:40:35 +0000
(22:40 -0800)
Prefer 'unsigned int' over plain 'unsigned'. Also make it
consistent with mm/cma.c
Link:
https://lkml.kernel.org/r/tencent_1E5E3AA25C261196D8C1F7097F130E382008@qq.com
Signed-off-by: Jiale Yang <295107659@qq.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/cma.h
patch
|
blob
|
blame
|
history
diff --git
a/mm/cma.h
b/mm/cma.h
index ad61cc6dd4396f861553f5acf44a9d0b5bdd9576..8485ef893e99d8da5ee41eb03194b5b00ff088ba 100644
(file)
--- 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)
{