Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jiale Yang and committed by
Andrew Morton
afeac03c 20f3ab25

+1 -1
+1 -1
mm/cma.h
··· 36 36 }; 37 37 38 38 extern struct cma cma_areas[MAX_CMA_AREAS]; 39 - extern unsigned cma_area_count; 39 + extern unsigned int cma_area_count; 40 40 41 41 static inline unsigned long cma_bitmap_maxno(struct cma *cma) 42 42 {