commit | f221b84ee13c5a6af837f497a2a89732472ad27c | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Wed Mar 13 10:46:42 2019 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Wed Mar 20 05:58:35 2019 -0400 |
tree | 75e67d556400a19a0bfefa3defb4e6d7ec911dd1 | |
parent | 6fe59b7eec391ad2e340f7727781cede099ab4c9 [diff] |
media: vicodec: remove WARN_ON(1) from get_q_data() Some functions like enum_fmt use the buffer type as was passed from userspace, which might cause the switch to fall into the default case. Just drop the WARN_ON(1) to avoid kernel log pollution. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>