From: SeongJae Park <sj@kernel.org>
To: Gautam Menghani <gautammenghani201@gmail.com>
Cc: sj@kernel.org, skhan@linuxfoundation.org,
Gautam Menghani <gautammenghani14@gmail.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
damon@lists.linux.dev
Subject: Re: [PATCH] Add documentation for Enum value 'NR_DAMON_OPS' in enum 'damon_ops_id'
Date: Sat, 7 May 2022 15:52:18 +0000 [thread overview]
Message-ID: <20220507155218.45706-1-sj@kernel.org> (raw)
In-Reply-To: <20220507070850.14150-1-gautammenghani201@gmail.com>
Hi Gautam,
Thank you for the patch. 'checkpatch.pl' complains as below, though:
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#12:
Fix the warning - "Enum value 'NR_DAMON_OPS' not described in enum 'damon_ops_id'" generated by the command "make pdfdocs"
WARNING: From:/Signed-off-by: email address mismatch: 'From: Gautam Menghani <gautammenghani14@gmail.com>' != 'Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>'
total: 0 errors, 2 warnings, 7 lines checked
Could you please fix those?
On Sat, 7 May 2022 12:38:50 +0530 Gautam Menghani <gautammenghani201@gmail.com> wrote:
> From: Gautam Menghani <gautammenghani14@gmail.com>
>
> Fix the warning - "Enum value 'NR_DAMON_OPS' not described in enum 'damon_ops_id'" generated by the command "make pdfdocs"
>
> Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>
> ---
> include/linux/damon.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/damon.h b/include/linux/damon.h
> index f23cbfa4248d..b972a7a3b6f0 100644
> --- a/include/linux/damon.h
> +++ b/include/linux/damon.h
> @@ -262,6 +262,7 @@ struct damos {
> *
> * @DAMON_OPS_VADDR: Monitoring operations for virtual address spaces
> * @DAMON_OPS_PADDR: Monitoring operations for the physical address space
> + * @NR_DAMON_OPS: Number of monitoring operations for a particular implementation
I'd like to keep the 80 column limit[1].
[1] https://docs.kernel.org/process/coding-style.html#breaking-long-lines-and-strings
Also, strictly speaking, it's not the number of monitoring operations for _a
particular implementation_, but 'number of monitoring operations
implementations'. And it's shorter. How about the suggestion?
Thanks,
SJ
> */
> enum damon_ops_id {
> DAMON_OPS_VADDR,
> --
> 2.25.1
next prev parent reply other threads:[~2022-05-07 15:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-07 7:08 Gautam Menghani
2022-05-07 15:52 ` SeongJae Park [this message]
2022-05-07 16:56 ` [PATCH] Add documentation for Enum value 'NR_DAMON_OPS' in Gautam Menghani
2022-05-07 20:15 ` SeongJae Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220507155218.45706-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=damon@lists.linux.dev \
--cc=gautammenghani14@gmail.com \
--cc=gautammenghani201@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox