diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2019-05-20 23:27:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 20:55:20 +0200 |
commit | 374d62e7aa50f66c1a4316be9221df4d0f38addd (patch) | |
tree | 939548f0f424cf5fad4c88d436d6c22b5a357efa /drivers/media/pci/saa7164/saa7164-encoder.c | |
parent | media: v4l2-subdev: Verify v4l2_subdev_call() pointer arguments (diff) | |
download | linux-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