Re: [PATCH -next] mm/vmalloc: Fix non-conforming function headers

From: Andrew Morton
Date: Thu Apr 01 2021 - 20:19:08 EST


On Thu, 1 Apr 2021 21:22:48 +0800 Qiheng Lin <linqiheng@xxxxxxxxxx> wrote:

> Fix the following W=1 kernel build warning(s):
> mm/vmalloc.c:425: warning: expecting prototype for vunmap_range_noflush(). Prototype was for vunmap_range() instead
>
> ...
>
> --- a/mm/vmalloc.c
> +++ b/mm/vmalloc.c
> @@ -413,7 +413,7 @@ void vunmap_range_noflush(unsigned long start, unsigned long end)
> }
>
> /**
> - * vunmap_range_noflush - unmap kernel virtual addresses
> + * vunmap_range - unmap kernel virtual addresses
> * @addr: start of the VM area to unmap
> * @end: end of the VM area to unmap (non-inclusive)
> *

Thanks. Nick has just sent along a patch which fixed this.