* [PATCH] PM: hibernate: don't mark comment as kernel-doc
@ 2022-04-01 10:01 Haowen Bai
2022-04-13 15:10 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Haowen Bai @ 2022-04-01 10:01 UTC (permalink / raw)
To: Rafael J. Wysocki, Pavel Machek, Len Brown
Cc: Haowen Bai, linux-pm, linux-kernel
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
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] PM: hibernate: don't mark comment as kernel-doc
2022-04-01 10:01 [PATCH] PM: hibernate: don't mark comment as kernel-doc Haowen Bai
@ 2022-04-13 15:10 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-04-13 15:10 UTC (permalink / raw)
To: Haowen Bai
Cc: Rafael J. Wysocki, Pavel Machek, Len Brown, Linux PM,
Linux Kernel Mailing List
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-13 15:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 10:01 [PATCH] PM: hibernate: don't mark comment as kernel-doc Haowen Bai
2022-04-13 15:10 ` Rafael J. Wysocki
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).