Replace 'unsigned' with 'unsigned int' for the variable cma_area_count. Signed-off-by: Malkoot Khan <engr.mkhan1990@xxxxxxxxx> --- mm/cma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/cma.c b/mm/cma.c index 01ccd26e8bc2..dd3c39d30ad6 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -37,7 +37,7 @@ #include "cma.h" struct cma cma_areas[MAX_CMA_AREAS]; -unsigned cma_area_count; +unsigned int cma_area_count; static DEFINE_MUTEX(cma_mutex); phys_addr_t cma_get_base(const struct cma *cma) -- 2.34.1