From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: Yanteng Si <siyanteng01@gmail.com>
Cc: corbet@lwn.net, chenhuacai@kernel.org, linux-doc@vger.kernel.org,
linux-iio@vger.kernel.org, Yanteng Si <siyanteng@loongson.cn>
Subject: Re: [PATCH] counter: Add the necessary colons and indents to the comments of counter_compi
Date: Sat, 11 Dec 2021 07:28:00 +0900 [thread overview]
Message-ID: <YbPUcMljr3LUmeMB@shinobu> (raw)
In-Reply-To: <20211205130816.4121898-1-siyanteng@loongson.cn>
[-- Attachment #1: Type: text/plain, Size: 6128 bytes --]
On Sun, Dec 05, 2021 at 09:08:16PM +0800, Yanteng Si wrote:
> Fix warning as:
>
> linux-next/Documentation/driver-api/generic-counter:234: ./include/linux/counter.h:43: WARNING: Unexpected indentation.
> linux-next/Documentation/driver-api/generic-counter:234: ./include/linux/counter.h:45: WARNING: Block quote ends without a blank line; unexpected unindent.
>
> Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Hello Yanteng,
Thank you for the patch. Is this fixing commit aaec1a0f76ec ("counter:
Internalize sysfs interface code")?
William Breathitt Gray
> ---
> include/linux/counter.h | 40 ++++++++++++++++++++--------------------
> 1 file changed, 20 insertions(+), 20 deletions(-)
>
> diff --git a/include/linux/counter.h b/include/linux/counter.h
> index b7d0a00a61cf..dfbde2808998 100644
> --- a/include/linux/counter.h
> +++ b/include/linux/counter.h
> @@ -38,64 +38,64 @@ enum counter_comp_type {
> * @type: Counter component data type
> * @name: device-specific component name
> * @priv: component-relevant data
> - * @action_read Synapse action mode read callback. The read value of the
> + * @action_read: Synapse action mode read callback. The read value of the
> * respective Synapse action mode should be passed back via
> * the action parameter.
> - * @device_u8_read Device u8 component read callback. The read value of the
> + * @device_u8_read: Device u8 component read callback. The read value of the
> * respective Device u8 component should be passed back via
> * the val parameter.
> - * @count_u8_read Count u8 component read callback. The read value of the
> + * @count_u8_read: Count u8 component read callback. The read value of the
> * respective Count u8 component should be passed back via
> * the val parameter.
> - * @signal_u8_read Signal u8 component read callback. The read value of the
> + * @signal_u8_read: Signal u8 component read callback. The read value of the
> * respective Signal u8 component should be passed back via
> * the val parameter.
> - * @device_u32_read Device u32 component read callback. The read value of
> + * @device_u32_read: Device u32 component read callback. The read value of
> * the respective Device u32 component should be passed
> * back via the val parameter.
> - * @count_u32_read Count u32 component read callback. The read value of the
> + * @count_u32_read: Count u32 component read callback. The read value of the
> * respective Count u32 component should be passed back via
> * the val parameter.
> - * @signal_u32_read Signal u32 component read callback. The read value of
> + * @signal_u32_read: Signal u32 component read callback. The read value of
> * the respective Signal u32 component should be passed
> * back via the val parameter.
> - * @device_u64_read Device u64 component read callback. The read value of
> + * @device_u64_read: Device u64 component read callback. The read value of
> * the respective Device u64 component should be passed
> * back via the val parameter.
> - * @count_u64_read Count u64 component read callback. The read value of the
> + * @count_u64_read: Count u64 component read callback. The read value of the
> * respective Count u64 component should be passed back via
> * the val parameter.
> - * @signal_u64_read Signal u64 component read callback. The read value of
> + * @signal_u64_read: Signal u64 component read callback. The read value of
> * the respective Signal u64 component should be passed
> * back via the val parameter.
> - * @action_write Synapse action mode write callback. The write value of
> + * @action_write: Synapse action mode write callback. The write value of
> * the respective Synapse action mode is passed via the
> * action parameter.
> - * @device_u8_write Device u8 component write callback. The write value of
> + * @device_u8_write: Device u8 component write callback. The write value of
> * the respective Device u8 component is passed via the val
> * parameter.
> - * @count_u8_write Count u8 component write callback. The write value of
> + * @count_u8_write: Count u8 component write callback. The write value of
> * the respective Count u8 component is passed via the val
> * parameter.
> - * @signal_u8_write Signal u8 component write callback. The write value of
> + * @signal_u8_write: Signal u8 component write callback. The write value of
> * the respective Signal u8 component is passed via the val
> * parameter.
> - * @device_u32_write Device u32 component write callback. The write value of
> + * @device_u32_write: Device u32 component write callback. The write value of
> * the respective Device u32 component is passed via the
> * val parameter.
> - * @count_u32_write Count u32 component write callback. The write value of
> + * @count_u32_write: Count u32 component write callback. The write value of
> * the respective Count u32 component is passed via the val
> * parameter.
> - * @signal_u32_write Signal u32 component write callback. The write value of
> + * @signal_u32_write: Signal u32 component write callback. The write value of
> * the respective Signal u32 component is passed via the
> * val parameter.
> - * @device_u64_write Device u64 component write callback. The write value of
> + * @device_u64_write: Device u64 component write callback. The write value of
> * the respective Device u64 component is passed via the
> * val parameter.
> - * @count_u64_write Count u64 component write callback. The write value of
> + * @count_u64_write: Count u64 component write callback. The write value of
> * the respective Count u64 component is passed via the val
> * parameter.
> - * @signal_u64_write Signal u64 component write callback. The write value of
> + * @signal_u64_write: Signal u64 component write callback. The write value of
> * the respective Signal u64 component is passed via the
> * val parameter.
> */
> --
> 2.27.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-12-10 22:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-05 13:08 [PATCH] counter: Add the necessary colons and indents to the comments of counter_compi Yanteng Si
2021-12-10 22:28 ` William Breathitt Gray [this message]
2021-12-11 11:47 ` yanteng si
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=YbPUcMljr3LUmeMB@shinobu \
--to=vilhelm.gray@gmail.com \
--cc=chenhuacai@kernel.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=siyanteng01@gmail.com \
--cc=siyanteng@loongson.cn \
/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;
as well as URLs for NNTP newsgroup(s).