summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/saa7164/saa7164-encoder.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2019-05-20 23:27:47 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-24 20:55:20 +0200
commit374d62e7aa50f66c1a4316be9221df4d0f38addd (patch)
tree939548f0f424cf5fad4c88d436d6c22b5a357efa /drivers/media/pci/saa7164/saa7164-encoder.c
parentmedia: v4l2-subdev: Verify v4l2_subdev_call() pointer arguments (diff)
downloadlinux-374d62e7aa50f66c1a4316be9221df4d0f38addd.tar.xz
linux-374d62e7aa50f66c1a4316be9221df4d0f38addd.zip
media: v4l2-subdev: Verify v4l2_subdev_call() pad config argument
Extend parameter checks performed by v4l2_subdev_call() with a check for a non-NULL pad config pointer if V4L2_SUBDEV_FORMAT_TRY format type is requested so drivers don't need to care. Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/pci/saa7164/saa7164-encoder.c')
0 files changed, 0 insertions, 0 deletions