diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2019-05-21 00:27:47 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 21:55:20 +0300 |
commit | 374d62e7aa50f66c1a4316be9221df4d0f38addd (patch) | |
tree | 939548f0f424cf5fad4c88d436d6c22b5a357efa /drivers/media/pci | |
parent | a4f4a763d8a01d0f461e3b8c4774ed45e9ded5f4 (diff) | |
download | linux-374d62e7aa50f66c1a4316be9221df4d0f38addd.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions