> ioctl: Register the runfd ioctl range

TL;DR:
- Possible misaligned ioctl-number.rst row may trigger a Sphinx docs build
  warning or error
- Commit message ioctl names don't match the header (RUNFS_GET_NFSD vs
  RUNFD_GET_NSFD)

>     ioctl: Register the runfd ioctl range
>
>     Reserve ioctl magic 0xB9, sequence numbers 0x00 through 0x0F, for
>     RUNFS_GET_NFSD and RUNFS_SHARE_NFSD.
>
>     Signed-off-by: Jarkko Sakkinen <[email protected]>

This isn't a bug, but the ioctl names look wrong here.
include/uapi/linux/runfd.h defines RUNFD_GET_NSFD and RUNFD_SHARE_NSFD, not
RUNFS_GET_NFSD and RUNFS_SHARE_NFSD.  Could the commit message use the
names from the header?

> diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst 
> b/Documentation/userspace-api/ioctl/ioctl-number.rst
> --- a/Documentation/userspace-api/ioctl/ioctl-number.rst
> +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst

[ ... ]

> @@ -385,6 +385,7 @@ Code  Seq#    Include File                                
>              Comments
>  0xB8  01-02  uapi/misc/mrvl_cn10k_dpi.h                                
> Marvell CN10K DPI driver
>  0xB8  all    uapi/linux/mshv.h                                         
> Microsoft Hyper-V /dev/mshv driver
>                                                                         
> <mailto:[email protected]>
> +0xB9  00-0F  uapi/linux/runfd.h                                       runfd 
> uAPI

Is the Comments column aligned here?  "runfd uAPI" starts one column to the
left of the Comments text in the neighbouring rows, which puts it in the
blank margin between the columns of this simple table.

docutils can report "Text in column margin" for such a row, which would
turn into a warning or error in the Sphinx documentation build.

Could one space be added before "runfd uAPI" so it lines up with the
other rows?

>  0xBA  00-0F  uapi/linux/liveupdate.h                                   Pasha 
> Tatashin
>                                                                         
> <mailto:[email protected]>


---
AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md

CI run summary: https://github.com/kernel-patches/bpf/actions/runs/47474652355

Reply via email to