media: gen-errors.rst: remove row number comments
Those are introduced by the conversion scripts and don't really help. Get rid of them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
07ebca6202
commit
d12502b84c
|
@ -17,9 +17,7 @@ Generic Error Codes
|
||||||
:widths: 1 16
|
:widths: 1 16
|
||||||
|
|
||||||
|
|
||||||
- .. row 1
|
- - ``EAGAIN`` (aka ``EWOULDBLOCK``)
|
||||||
|
|
||||||
- ``EAGAIN`` (aka ``EWOULDBLOCK``)
|
|
||||||
|
|
||||||
- The ioctl can't be handled because the device is in state where it
|
- The ioctl can't be handled because the device is in state where it
|
||||||
can't perform it. This could happen for example in case where
|
can't perform it. This could happen for example in case where
|
||||||
|
@ -27,15 +25,11 @@ Generic Error Codes
|
||||||
is also returned when the ioctl would need to wait for an event,
|
is also returned when the ioctl would need to wait for an event,
|
||||||
but the device was opened in non-blocking mode.
|
but the device was opened in non-blocking mode.
|
||||||
|
|
||||||
- .. row 2
|
- - ``EBADF``
|
||||||
|
|
||||||
- ``EBADF``
|
|
||||||
|
|
||||||
- The file descriptor is not a valid.
|
- The file descriptor is not a valid.
|
||||||
|
|
||||||
- .. row 3
|
- - ``EBUSY``
|
||||||
|
|
||||||
- ``EBUSY``
|
|
||||||
|
|
||||||
- The ioctl can't be handled because the device is busy. This is
|
- The ioctl can't be handled because the device is busy. This is
|
||||||
typically return while device is streaming, and an ioctl tried to
|
typically return while device is streaming, and an ioctl tried to
|
||||||
|
@ -44,59 +38,43 @@ Generic Error Codes
|
||||||
ioctl must not be retried without performing another action to fix
|
ioctl must not be retried without performing another action to fix
|
||||||
the problem first (typically: stop the stream before retrying).
|
the problem first (typically: stop the stream before retrying).
|
||||||
|
|
||||||
- .. row 4
|
- - ``EFAULT``
|
||||||
|
|
||||||
- ``EFAULT``
|
|
||||||
|
|
||||||
- There was a failure while copying data from/to userspace, probably
|
- There was a failure while copying data from/to userspace, probably
|
||||||
caused by an invalid pointer reference.
|
caused by an invalid pointer reference.
|
||||||
|
|
||||||
- .. row 5
|
- - ``EINVAL``
|
||||||
|
|
||||||
- ``EINVAL``
|
|
||||||
|
|
||||||
- One or more of the ioctl parameters are invalid or out of the
|
- One or more of the ioctl parameters are invalid or out of the
|
||||||
allowed range. This is a widely used error code. See the
|
allowed range. This is a widely used error code. See the
|
||||||
individual ioctl requests for specific causes.
|
individual ioctl requests for specific causes.
|
||||||
|
|
||||||
- .. row 6
|
- - ``ENODEV``
|
||||||
|
|
||||||
- ``ENODEV``
|
|
||||||
|
|
||||||
- Device not found or was removed.
|
- Device not found or was removed.
|
||||||
|
|
||||||
- .. row 7
|
- - ``ENOMEM``
|
||||||
|
|
||||||
- ``ENOMEM``
|
|
||||||
|
|
||||||
- There's not enough memory to handle the desired operation.
|
- There's not enough memory to handle the desired operation.
|
||||||
|
|
||||||
- .. row 8
|
- - ``ENOTTY``
|
||||||
|
|
||||||
- ``ENOTTY``
|
|
||||||
|
|
||||||
- The ioctl is not supported by the driver, actually meaning that
|
- The ioctl is not supported by the driver, actually meaning that
|
||||||
the required functionality is not available, or the file
|
the required functionality is not available, or the file
|
||||||
descriptor is not for a media device.
|
descriptor is not for a media device.
|
||||||
|
|
||||||
- .. row 9
|
- - ``ENOSPC``
|
||||||
|
|
||||||
- ``ENOSPC``
|
|
||||||
|
|
||||||
- On USB devices, the stream ioctl's can return this error, meaning
|
- On USB devices, the stream ioctl's can return this error, meaning
|
||||||
that this request would overcommit the usb bandwidth reserved for
|
that this request would overcommit the usb bandwidth reserved for
|
||||||
periodic transfers (up to 80% of the USB bandwidth).
|
periodic transfers (up to 80% of the USB bandwidth).
|
||||||
|
|
||||||
- .. row 10
|
- - ``EPERM``
|
||||||
|
|
||||||
- ``EPERM``
|
|
||||||
|
|
||||||
- Permission denied. Can be returned if the device needs write
|
- Permission denied. Can be returned if the device needs write
|
||||||
permission, or some special capabilities is needed (e. g. root)
|
permission, or some special capabilities is needed (e. g. root)
|
||||||
|
|
||||||
- .. row 11
|
- - ``EIO``
|
||||||
|
|
||||||
- ``EIO``
|
|
||||||
|
|
||||||
- I/O error. Typically used when there are problems communicating with
|
- I/O error. Typically used when there are problems communicating with
|
||||||
a hardware device. This could indicate broken or flaky hardware.
|
a hardware device. This could indicate broken or flaky hardware.
|
||||||
|
|
Loading…
Reference in New Issue