diff mbox series

PM: hibernate: don't mark comment as kernel-doc

Message ID 1648807295-31682-1-git-send-email-baihaowen@meizu.com (mailing list archive)
State Mainlined, archived
Headers show
Series PM: hibernate: don't mark comment as kernel-doc | expand

Commit Message

baihaowen April 1, 2022, 10:01 a.m. UTC
Change the comment to a normal (non-kernel-doc) comment to avoid
these kernel-doc warnings:

kernel/power/snapshot.c:335: warning: This comment starts with '/**', but
 isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * Data types related to memory bitmaps.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
---
 kernel/power/snapshot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael J. Wysocki April 13, 2022, 3:10 p.m. UTC | #1
On Fri, Apr 1, 2022 at 12:01 PM Haowen Bai <baihaowen@meizu.com> wrote:
>
> Change the comment to a normal (non-kernel-doc) comment to avoid
> these kernel-doc warnings:
>
> kernel/power/snapshot.c:335: warning: This comment starts with '/**', but
>  isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
>  * Data types related to memory bitmaps.
>
> Signed-off-by: Haowen Bai <baihaowen@meizu.com>
> ---
>  kernel/power/snapshot.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
> index 330d49937692..2a4d7d40161d 100644
> --- a/kernel/power/snapshot.c
> +++ b/kernel/power/snapshot.c
> @@ -326,7 +326,7 @@ static void *chain_alloc(struct chain_allocator *ca, unsigned int size)
>         return ret;
>  }
>
> -/**
> +/*
>   * Data types related to memory bitmaps.
>   *
>   * Memory bitmap is a structure consisting of many linked lists of
> --

Applied as 5.19 material, thanks!
diff mbox series

Patch

diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 330d49937692..2a4d7d40161d 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -326,7 +326,7 @@  static void *chain_alloc(struct chain_allocator *ca, unsigned int size)
 	return ret;
 }
 
-/**
+/*
  * Data types related to memory bitmaps.
  *
  * Memory bitmap is a structure consisting of many linked lists of