linux-uconsole/drivers/media
Hans Verkuil 573d423a9b 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 20:09:38 +01:00
..
cec media: cec-pin: fix broken tx_ignore_nack_until_eom error injection 2019-01-09 17:38:46 +01:00
common media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused() 2019-03-23 20:09:38 +01:00
dvb-core media: dvb_frontend: ensure that the step is ok for both FE and tuner 2018-08-02 18:11:46 -04:00
dvb-frontends media: dvb-pll: don't re-validate tuner frequencies 2018-12-13 09:16:17 +01:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2019-01-26 09:32:37 +01:00
i2c media: imx274: select REGMAP_I2C 2019-02-12 19:47:05 +01:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: cx23885: only reset DMA on problematic CPUs 2019-01-13 09:51:06 +01:00
platform media: coda: fix H.264 deblocking filter controls 2019-02-12 19:47:07 +01:00
radio media: radio-wl1273: fix return code for the polling routine 2018-08-08 10:57:14 -04:00
rc media: rc: ensure close() is called on rc_unregister_device 2019-02-12 19:47:01 +01:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners Merge branch 'i2c/for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2018-08-21 17:40:46 -07:00
usb media: uvcvideo: Fix 'type' check leading to overflow 2019-03-13 14:02:26 -07:00
v4l2-core media: v4l: ioctl: Validate num_planes for debug messages 2019-01-22 21:40:34 +01:00
Kconfig media: cec: Kconfig coding style issue 2018-05-09 16:26:50 -04:00
Makefile
media-device.c Merge branch 'ida-4.19' of git://git.infradead.org/users/willy/linux-dax 2018-08-26 11:48:42 -07:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00