diff options
| author | Sakari Ailus <[email protected]> | 2023-02-24 16:00:46 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-03-18 08:48:15 +0100 |
| commit | 55f1ecb1199000932cf82e357841cc7498ac904f (patch) | |
| tree | 4accd9060f034f46876e7e2a1ee3a7c9c88ece76 /tools/perf/scripts/python/bin | |
| parent | 530779157c06d64721b81d60f7ae2715cdf338d2 (diff) | |
media: v4l: subdev: Make link validation safer
Link validation currently accesses invalid pointers if the link passed to
it is not between two sub-devices. This is of course a driver bug.
Ignore the error but print a warning message, as this is how it used to
work previously.
Fixes: a6b995ed03ff ("media: subdev: use streams in v4l2_subdev_link_validate()")
Reported-by: Hans de Goede <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Tested-by: Hans de Goede <[email protected]>
Reviewed-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions