firewire: cdev: Fix FW_CDEV_IOC_CREATE_ISO_CONTEXT references in kernel-doc
PATCH 1/1 firewire: cdev: Fix FW_CDEV_IOC_CREATE_ISO_CONTEXT references in kernel-doc
The fw_cdev_event_iso_interrupt and fw_cdev_event_iso_interrupt_mc comments refer to FW_CDEV_CREATE_ISO_CONTEXT, but the ioctl is named FW_CDEV_IOC_CREATE_ISO_CONTEXT.
Correct both references. The misspellings were introduced separately with the userspace interface documentation and multichannel reception support.
--- include/uapi/linux/firewire-cdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/firewire-cdev.h +2 -2
@@ -293,7 +293,7 @@ struct fw_cdev_event_request3 {/** * struct fw_cdev_event_iso_interrupt - Sent when an iso packet was completed * @closure: See &fw_cdev_event_common; -* set by %FW_CDEV_CREATE_ISO_CONTEXT ioctl +* set by %FW_CDEV_IOC_CREATE_ISO_CONTEXT ioctl * @type: See &fw_cdev_event_common; always %FW_CDEV_EVENT_ISO_INTERRUPT * @cycle: Cycle counter of the last completed packet * @header_length: Total length of following headers, in bytes
@@ -353,7 +353,7 @@ struct fw_cdev_event_iso_interrupt {/** * struct fw_cdev_event_iso_interrupt_mc - An iso buffer chunk was completed * @closure: See &fw_cdev_event_common; -* set by %FW_CDEV_CREATE_ISO_CONTEXT ioctl +* set by %FW_CDEV_IOC_CREATE_ISO_CONTEXT ioctl * @type: %FW_CDEV_EVENT_ISO_INTERRUPT_MULTICHANNEL * @completed: Offset into the receive buffer; data before this offset is valid *
Hi,
Quoted 8 lines · Karl Mehltretter
The
fw_cdev_event_iso_interruptandfw_cdev_event_iso_interrupt_mccomments refer toFW_CDEV_CREATE_ISO_CONTEXT, but the ioctl is namedFW_CDEV_IOC_CREATE_ISO_CONTEXT.Correct both references. The misspellings were introduced separately with the userspace interface documentation and multichannel reception support.
Quoted 7 lines
Fixes 7ada60e36764 ("firewire: Document userspace ioctl interface.")Fixes 872e330e3880 ("firewire: add isochronous multichannel reception")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- include/uapi/linux/firewire-cdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to for-next branch.
Thanks
Takashi Sakamoto