Skip to content

Commit 73e0538

Browse files
author
Hans Verkuil
committed
Documentation: media: gen-errors.rst: fix confusing ENOTTY description
The text is very, very old and predates /dev/mediaX devices, so the reference to "media device" is today very confusing. It also says that the ioctl is not supported by the driver, but a driver may have multiple device nodes, some support a given ioctl, and some don't. Simplify the description: ENOTTY means that the ioctl is not supported by the file descriptor. Reported-by: Nicolas Dufresne <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Nicolas Dufresne <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 900c06e commit 73e0538

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Documentation/userspace-api/media/gen-errors.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ Generic Error Codes
5959

6060
- - ``ENOTTY``
6161

62-
- The ioctl is not supported by the driver, actually meaning that
63-
the required functionality is not available, or the file
64-
descriptor is not for a media device.
62+
- The ioctl is not supported by the file descriptor.
6563

6664
- - ``ENOSPC``
6765

0 commit comments

Comments
 (0)