mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 11:37:47 +00:00
mm: change type of cma_area_count to unsigned int
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>
This commit is contained in:
parent
fcd31b7c35
commit
a82412684e
2
mm/cma.h
2
mm/cma.h
@ -36,7 +36,7 @@ struct cma {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern struct cma cma_areas[MAX_CMA_AREAS];
|
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)
|
static inline unsigned long cma_bitmap_maxno(struct cma *cma)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user