Skip to content
Commit 735de5ca authored by Hans Verkuil's avatar Hans Verkuil
Browse files

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



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>
parent 41ebaa5e
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