From: Markus Elfring <Markus.Elfring@web.de>
To: linux-doc@vger.kernel.org, kernel-janitors@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>
Cc: cocci@inria.fr, LKML <linux-kernel@vger.kernel.org>
Subject: [cocci] Improving documentation for application of error pointers
Date: Tue, 28 Mar 2023 14:20:50 +0200 [thread overview]
Message-ID: <4fb82a9a-a80c-5a2f-238c-e0130e102b28@web.de> (raw)
Hello,
I found three places in the software documentation where the term “error pointer”
is mentioned.
Example:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/core-api/printk-formats.rst?h=v6.3-rc4#n95
I am looking for more helpful explanations also according to details
like the following.
1. Can any functions be especially marked for returning an error code
within a pointer (after a failed call)?
https://elixir.bootlin.com/linux/v6.3-rc4/source/include/linux/err.h#L11
2. Does a possibility remain that such functions would occasionally return
a null pointer?
Regards,
Markus
reply other threads:[~2023-03-28 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4fb82a9a-a80c-5a2f-238c-e0130e102b28@web.de \
--to=markus.elfring@web.de \
--cc=cocci@inria.fr \
--cc=corbet@lwn.net \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).