From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-doc@vger.kernel.org
Subject: [PATCH] docs: ioctl-decoding: use a list for bit meanings
Date: Thu, 8 Oct 2026 14:09:43 -0700 [thread overview]
Message-ID: <20261008210943.3297085-1-rdunlap@infradead.org> (raw)
Make a list of the bits 31-30 meanings so that they don't all
run together in the rendered output.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Documentation/userspace-api/ioctl/ioctl-decoding.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linext-2026-1007.orig/Documentation/userspace-api/ioctl/ioctl-decoding.rst
+++ linext-2026-1007/Documentation/userspace-api/ioctl/ioctl-decoding.rst
@@ -11,10 +11,10 @@ uses 3 bits to encode read/write and 13
====== ==================================
bits meaning
====== ==================================
- 31-30 00 - no parameters: uses _IO macro
- 10 - read: _IOR
- 01 - write: _IOW
- 11 - read/write: _IOWR
+ 31-30 * 00 - no parameters: uses _IO macro
+ * 10 - read: _IOR
+ * 01 - write: _IOW
+ * 11 - read/write: _IOWR
29-16 size of arguments
next reply other threads:[~2026-10-08 21:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 21:09 Randy Dunlap [this message]
2026-11-02 15:50 ` Jonathan Corbet
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=20261008210943.3297085-1-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®