aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBaskov Evgeniy <[email protected]>2020-11-13 17:06:25 +0100
committerMauro Carvalho Chehab <[email protected]>2020-12-03 07:45:49 +0100
commit0862d95b437b7687622bfc274e410549853825c3 (patch)
tree821f57a159a9947affabe1a16af96b8c3fee8c87 /tools/perf/scripts/python/net_dropmonitor.py
parent3c39a16d30d8d1bcbd3602a967735b98318c0993 (diff)
media: s5p-jpeg: handle error condition in s5p_jpeg_probe
If an error happens in jpeg_get_drv_data(), i.e. match fails, jpeg->variant field is NULL, so we cannot access it. Consider device probe failed if jpeg->variant is NULL. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Baskov Evgeniy <[email protected]> Acked-by: Andrzej Pietrasiewicz <[email protected]> Acked-by: Jacek Anaszewski <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions