From: Hans Verkuil Date: Fri, 23 Feb 2024 09:15:20 +0000 (+0100) Subject: doc: media: v4l/func-open.rst: ENXIO should be ENODEV X-Git-Tag: v6.10-rc1~135^2~174 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e85bfd15c84e157338895a42676d07e73fe7c0e1;p=thirdparty%2Fkernel%2Flinux.git doc: media: v4l/func-open.rst: ENXIO should be ENODEV The error that V4L2 returns when an attempt is made to open an unregisted device node is ENODEV, no ENXIO. Update the documentation. Signed-off-by: Hans Verkuil --- diff --git a/Documentation/userspace-api/media/v4l/func-open.rst b/Documentation/userspace-api/media/v4l/func-open.rst index ba23ff1e45dd3..be3808cbf8761 100644 --- a/Documentation/userspace-api/media/v4l/func-open.rst +++ b/Documentation/userspace-api/media/v4l/func-open.rst @@ -65,8 +65,8 @@ EBUSY The driver does not support multiple opens and the device is already in use. -ENXIO - No device corresponding to this device special file exists. +ENODEV + Device not found or was removed. ENOMEM Not enough kernel memory was available to complete the request.