Skip to content
Commit 134b01a3 authored by Hans Verkuil's avatar Hans Verkuil Committed by Greg Kroah-Hartman
Browse files

media: vb2: frame_vector.c: replace WARN_ONCE with a comment

[ Upstream commit 735de5ca

 ]

The WARN_ONCE was issued also in cases that had nothing to do with VM_IO
(e.g. if the start address was just a random value and uaccess fails with
-EFAULT).

There are no reports of WARN_ONCE being issued for actual VM_IO cases, so
just drop it and instead add a note to the comment before the function.

Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Reported-by: default avatarYikebaer Aizezi <yikebaer61@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent baf7cf0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment