linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] mm: page_alloc: fix kernel-doc warning
@ 2020-04-08  4:29 Randy Dunlap
  2020-04-08 14:54 ` Alexander Duyck
  2020-04-09  6:53 ` Pankaj Gupta
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-04-08  4:29 UTC (permalink / raw)
  To: LKML, Linux MM, Andrew Morton

From: Randy Dunlap <rdunlap@infradead.org>

Add description of function parameter 'mt' to fix kernel-doc warning:

../mm/page_alloc.c:3246: warning: Function parameter or member 'mt' not described in '__putback_isolated_page'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 mm/page_alloc.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20200407.orig/mm/page_alloc.c
+++ linux-next-20200407/mm/page_alloc.c
@@ -3238,6 +3238,7 @@ int __isolate_free_page(struct page *pag
  * __putback_isolated_page - Return a now-isolated page back where we got it
  * @page: Page that was isolated
  * @order: Order of the isolated page
+ * @mt: The page's pageblock's migratetype
  *
  * This function is meant to return a page pulled from the free lists via
  * __isolate_free_page back to the free lists they were pulled from.


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

* Re: [PATCH -next] mm: page_alloc: fix kernel-doc warning
  2020-04-08  4:29 [PATCH -next] mm: page_alloc: fix kernel-doc warning Randy Dunlap
@ 2020-04-08 14:54 ` Alexander Duyck
  2020-04-09  6:53 ` Pankaj Gupta
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Duyck @ 2020-04-08 14:54 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, Linux MM, Andrew Morton

On Tue, Apr 7, 2020 at 9:30 PM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Add description of function parameter 'mt' to fix kernel-doc warning:
>
> ../mm/page_alloc.c:3246: warning: Function parameter or member 'mt' not described in '__putback_isolated_page'
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Thanks for catching this. The fix looks good to me.

Acked-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>

> ---
>  mm/page_alloc.c |    1 +
>  1 file changed, 1 insertion(+)
>
> --- linux-next-20200407.orig/mm/page_alloc.c
> +++ linux-next-20200407/mm/page_alloc.c
> @@ -3238,6 +3238,7 @@ int __isolate_free_page(struct page *pag
>   * __putback_isolated_page - Return a now-isolated page back where we got it
>   * @page: Page that was isolated
>   * @order: Order of the isolated page
> + * @mt: The page's pageblock's migratetype
>   *
>   * This function is meant to return a page pulled from the free lists via
>   * __isolate_free_page back to the free lists they were pulled from.
>
>

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

* Re: [PATCH -next] mm: page_alloc: fix kernel-doc warning
  2020-04-08  4:29 [PATCH -next] mm: page_alloc: fix kernel-doc warning Randy Dunlap
  2020-04-08 14:54 ` Alexander Duyck
@ 2020-04-09  6:53 ` Pankaj Gupta
  1 sibling, 0 replies; 3+ messages in thread
From: Pankaj Gupta @ 2020-04-09  6:53 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, Linux MM, Andrew Morton

> Add description of function parameter 'mt' to fix kernel-doc warning:
>
> ../mm/page_alloc.c:3246: warning: Function parameter or member 'mt' not described in '__putback_isolated_page'
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
>  mm/page_alloc.c |    1 +
>  1 file changed, 1 insertion(+)
>
> --- linux-next-20200407.orig/mm/page_alloc.c
> +++ linux-next-20200407/mm/page_alloc.c
> @@ -3238,6 +3238,7 @@ int __isolate_free_page(struct page *pag
>   * __putback_isolated_page - Return a now-isolated page back where we got it
>   * @page: Page that was isolated
>   * @order: Order of the isolated page
> + * @mt: The page's pageblock's migratetype
>   *
>   * This function is meant to return a page pulled from the free lists via
>   * __isolate_free_page back to the free lists they were pulled from.

Acked-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>

>
>

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

end of thread, other threads:[~2020-04-09  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08  4:29 [PATCH -next] mm: page_alloc: fix kernel-doc warning Randy Dunlap
2020-04-08 14:54 ` Alexander Duyck
2020-04-09  6:53 ` Pankaj Gupta

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).