linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] mm/vmalloc: Fix non-conforming function headers
@ 2021-04-01 13:22 Qiheng Lin
  2021-04-02  0:19 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Qiheng Lin @ 2021-04-01 13:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, linux-kernel, Qiheng Lin

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

Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
---
 mm/vmalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 8b564f91a610..4238e407eb2d 100644
--- 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)
  *
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] mm/vmalloc: Fix non-conforming function headers
  2021-04-01 13:22 [PATCH -next] mm/vmalloc: Fix non-conforming function headers Qiheng Lin
@ 2021-04-02  0:19 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2021-04-02  0:19 UTC (permalink / raw)
  To: Qiheng Lin; +Cc: linux-mm, linux-kernel

On Thu, 1 Apr 2021 21:22:48 +0800 Qiheng Lin <linqiheng@huawei.com> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-02  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 13:22 [PATCH -next] mm/vmalloc: Fix non-conforming function headers Qiheng Lin
2021-04-02  0:19 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).