Skip to content

Commit afeac03

Browse files
winterverakpm00
authored andcommitted
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/[email protected] Signed-off-by: Jiale Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 20f3ab2 commit afeac03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/cma.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct cma {
3636
};
3737

3838
extern struct cma cma_areas[MAX_CMA_AREAS];
39-
extern unsigned cma_area_count;
39+
extern unsigned int cma_area_count;
4040

4141
static inline unsigned long cma_bitmap_maxno(struct cma *cma)
4242
{

0 commit comments

Comments
 (0)