* [PATCH] docs: ioctl-decoding: use a list for bit meanings
@ 2026-10-08 21:09 Randy Dunlap
2026-11-02 15:50 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-10-08 21:09 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: ioctl-decoding: use a list for bit meanings
2026-10-08 21:09 [PATCH] docs: ioctl-decoding: use a list for bit meanings Randy Dunlap
@ 2026-11-02 15:50 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2026-11-02 15:50 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel; +Cc: Randy Dunlap, Shuah Khan, linux-doc
Randy Dunlap <rdunlap@infradead.org> writes:
> 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(-)
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-02 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 21:09 [PATCH] docs: ioctl-decoding: use a list for bit meanings Randy Dunlap
2026-11-02 15:50 ` Jonathan Corbet
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®