linux_dsm_epyc7002/drivers/media/common
Sakari Ailus 0097ff8e3e media: vb2: Enforce VB2_MAX_FRAME in vb2_core_reqbufs better
The check for the number of buffers requested against the maximum,
VB2_MAX_FRAME, was performed before checking queue's minimum number of
buffers. Reverse the order, thus ensuring that under no circumstances
num_buffers exceeds VB2_MAX_FRAME here.

Also add a warning of the condition.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-01-03 04:56:38 -05:00
..
b2c2 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
saa7146 media: use ARRAY_SIZE 2017-12-08 10:11:00 -05:00
siano media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
v4l2-tpg media: v4l2-tpg.h: rename color structs 2017-12-18 12:29:05 -05:00
videobuf media: vb2: Enforce VB2_MAX_FRAME in vb2_core_reqbufs better 2018-01-03 04:56:38 -05:00
btcx-risc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cx2341x.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cypress_firmware.c media: drivers: improve a size determination 2017-09-23 08:20:57 -04:00
cypress_firmware.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig media: move videobuf2 to drivers/media/common 2017-12-28 11:17:29 -05:00
Makefile media: move videobuf2 to drivers/media/common 2017-12-28 11:17:29 -05:00
tveeprom.c [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00