From: Jonathan Corbet <corbet@lwn.net>
To: Randy Dunlap <rdunlap@infradead.org>, linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Steven Rostedt <rostedt@goodmis.org>,
linux-doc@vger.kernel.org
Subject: Re: [PATCH v2 RESEND] Documentation: doc-guide: use '%' constant indicator in Return: examples
Date: Fri, 14 Jul 2023 13:17:34 -0600 [thread overview]
Message-ID: <87ilamz4j5.fsf@meer.lwn.net> (raw)
In-Reply-To: <20230703232030.8223-1-rdunlap@infradead.org>
Randy Dunlap <rdunlap@infradead.org> writes:
> Use the 'constant' indicator '%' in the examples for the
> Return: values syntax. This can help encourage people to use it.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Suggested-by: Steven Rostedt <rostedt@goodmis.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Link: https://lore.kernel.org/lkml/20221121154358.36856ca6@gandalf.local.home/
> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
> ---
> v2: in Subject, spell 'examples' correctly;
> Add Link: and Acked-by: Steven
> add Note:
>
> Note: %-ECODE or -%ECODE both work well.
>
> Documentation/doc-guide/kernel-doc.rst | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
I'm not convinced that this %notation really helps the documentation
rather than just cluttering...but for now we have it, so I've applied
this.
Thanks,
jon
prev parent reply other threads:[~2023-07-14 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-03 23:20 Randy Dunlap
2023-07-14 19:17 ` Jonathan Corbet [this message]
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=87ilamz4j5.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=rostedt@goodmis.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
all inboxes | Powered by JetHome®