Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+11 -33
+11 -33
Documentation/media/uapi/gen-errors.rst
··· 17 17 :widths: 1 16 18 18 19 19 20 - - .. row 1 21 - 22 - - ``EAGAIN`` (aka ``EWOULDBLOCK``) 20 + - - ``EAGAIN`` (aka ``EWOULDBLOCK``) 23 21 24 22 - The ioctl can't be handled because the device is in state where it 25 23 can't perform it. This could happen for example in case where ··· 25 27 is also returned when the ioctl would need to wait for an event, 26 28 but the device was opened in non-blocking mode. 27 29 28 - - .. row 2 29 - 30 - - ``EBADF`` 30 + - - ``EBADF`` 31 31 32 32 - The file descriptor is not a valid. 33 33 34 - - .. row 3 35 - 36 - - ``EBUSY`` 34 + - - ``EBUSY`` 37 35 38 36 - The ioctl can't be handled because the device is busy. This is 39 37 typically return while device is streaming, and an ioctl tried to ··· 38 44 ioctl must not be retried without performing another action to fix 39 45 the problem first (typically: stop the stream before retrying). 40 46 41 - - .. row 4 42 - 43 - - ``EFAULT`` 47 + - - ``EFAULT`` 44 48 45 49 - There was a failure while copying data from/to userspace, probably 46 50 caused by an invalid pointer reference. 47 51 48 - - .. row 5 49 - 50 - - ``EINVAL`` 52 + - - ``EINVAL`` 51 53 52 54 - One or more of the ioctl parameters are invalid or out of the 53 55 allowed range. This is a widely used error code. See the 54 56 individual ioctl requests for specific causes. 55 57 56 - - .. row 6 57 - 58 - - ``ENODEV`` 58 + - - ``ENODEV`` 59 59 60 60 - Device not found or was removed. 61 61 62 - - .. row 7 63 - 64 - - ``ENOMEM`` 62 + - - ``ENOMEM`` 65 63 66 64 - There's not enough memory to handle the desired operation. 67 65 68 - - .. row 8 69 - 70 - - ``ENOTTY`` 66 + - - ``ENOTTY`` 71 67 72 68 - The ioctl is not supported by the driver, actually meaning that 73 69 the required functionality is not available, or the file 74 70 descriptor is not for a media device. 75 71 76 - - .. row 9 77 - 78 - - ``ENOSPC`` 72 + - - ``ENOSPC`` 79 73 80 74 - On USB devices, the stream ioctl's can return this error, meaning 81 75 that this request would overcommit the usb bandwidth reserved for 82 76 periodic transfers (up to 80% of the USB bandwidth). 83 77 84 - - .. row 10 85 - 86 - - ``EPERM`` 78 + - - ``EPERM`` 87 79 88 80 - Permission denied. Can be returned if the device needs write 89 81 permission, or some special capabilities is needed (e. g. root) 90 82 91 - - .. row 11 92 - 93 - - ``EIO`` 83 + - - ``EIO`` 94 84 95 85 - I/O error. Typically used when there are problems communicating with 96 86 a hardware device. This could indicate broken or flaky hardware.