linux-stable/drivers/media
Hans Verkuil 7f422aa63d media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
commit 5e99456c20 upstream.

Userspace shouldn't set bytesused to 0 for output buffers.
vb2_warn_zero_bytesused() warns about this (only once!), but it also
calls WARN_ON(1), which is confusing since it is not immediately clear
that it warns about a 0 value for bytesused.

Just drop the WARN_ON as it serves no purpose.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Cc: Matthias Maennich <maennich@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-23 13:19:40 +01:00
..
common media: v4l2-tpg: array index could become negative 2019-01-09 16:16:44 +01:00
dvb-core media: dvb_frontend: fix locking issues at dvb_frontend_get_event() 2018-07-03 11:23:15 +02:00
dvb-frontends media: helene: fix xtal frequency setting at power on 2018-09-19 22:47:15 +02:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2019-01-26 09:38:34 +01:00
i2c media: adv*/tc358743/ths8200: fill in min width/height/pixelclock 2019-02-12 19:44:52 +01:00
mmc
pci media: pci: cx23885: handle adding to list failure 2018-11-21 09:25:56 +01:00
platform media: DaVinci-VPBE: fix error handling in vpbe_initialize() 2019-02-12 19:44:53 +01:00
radio media: si470x: fix __be16 annotations 2018-08-03 07:55:26 +02:00
rc mceusb: sporadic RX truncation corruption fix 2018-04-13 19:48:22 +02:00
spi gs1662: drop kfree for memory allocated with devm_kzalloc 2017-01-26 08:24:45 +01:00
tuners media: r820t: fix r820t_write_reg for KASAN 2018-02-22 15:43:56 +01:00
usb media: uvcvideo: Fix 'type' check leading to overflow 2019-03-13 14:04:55 -07:00
v4l2-core media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused() 2019-03-23 13:19:40 +01:00
cec-edid.c [media] cec-edid: check for IEEE identifier 2016-08-22 14:04:51 -03:00
Kconfig [media] media Kconfig: improve the spi integration 2016-09-19 14:37:05 -03:00
Makefile [media] Add GS1662 driver, a video serializer 2016-09-19 14:36:24 -03:00
media-device.c media: media-device: fix ioctl function types 2018-08-03 07:55:22 +02:00
media-devnode.c
media-entity.c media: entity: Fix stream count check 2017-07-12 15:01:02 +02:00