diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2018-08-14 10:52:17 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-11 15:37:33 +0300 |
commit | 96cb579cc47380a22d3f64da7877e13a7566e296 (patch) | |
tree | 6ff3b19adb50f6f611ff34059e79312f6093041b /Documentation/media/uapi/v4l | |
parent | 648301b456b0169af4a8be49ea59a91742c3f75b (diff) | |
download | linux-96cb579cc47380a22d3f64da7877e13a7566e296.tar.xz |
media: cec-func-poll.rst/func-poll.rst: update EINVAL description
nfds depends on RLIMIT_NOFILE, not OPEN_MAX. Update the description
for cec and v4l2.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media/uapi/v4l')
-rw-r--r-- | Documentation/media/uapi/v4l/func-poll.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/media/uapi/v4l/func-poll.rst b/Documentation/media/uapi/v4l/func-poll.rst index 360bc6523ae2..967fe8920729 100644 --- a/Documentation/media/uapi/v4l/func-poll.rst +++ b/Documentation/media/uapi/v4l/func-poll.rst @@ -113,4 +113,5 @@ EINTR The call was interrupted by a signal. EINVAL - The ``nfds`` argument is greater than ``OPEN_MAX``. + The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use + ``getrlimit()`` to obtain this value. |