summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2019-05-20 17:27:47 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-24 14:55:20 -0400
commit374d62e7aa50f66c1a4316be9221df4d0f38addd (patch)
tree939548f0f424cf5fad4c88d436d6c22b5a357efa /samples
parenta4f4a763d8a01d0f461e3b8c4774ed45e9ded5f4 (diff)
downloadlinux-stable-374d62e7aa50f66c1a4316be9221df4d0f38addd.tar.gz
linux-stable-374d62e7aa50f66c1a4316be9221df4d0f38addd.tar.bz2
linux-stable-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 'samples')
0 files changed, 0 insertions, 0 deletions