Move the opening brace of a function definition 'cma_for_each_area' to the next line which resolved the error Signed-off-by: Malkoot Khan <engr.mkhan1990@xxxxxxxxx> --- mm/cma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/cma.c b/mm/cma.c index 2b2494fd6b59..01ccd26e8bc2 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -579,6 +579,7 @@ bool cma_release(struct cma *cma, const struct page *pages, } int cma_for_each_area(int (*it)(struct cma *cma, void *data), void *data) + { int i; -- 2.34.1