diff options
author | Colin Ian King <[email protected]> | 2021-09-17 18:07:02 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2021-10-05 09:38:18 +0200 |
commit | 51fa3b70d27342baf1ea8aaab3e96e5f4f26d5b2 (patch) | |
tree | 90885a85e9155025f86b765184091545e09b7590 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3ec54d3f2d8081035ca6116ee3db2dfafb938888 (diff) |
media: em28xx: Don't use ops->suspend if it is NULL
The call to ops->suspend for the dev->dev_next case can currently
trigger a call on a null function pointer if ops->suspend is null.
Skip over the use of function ops->suspend if it is null.
Addresses-Coverity: ("Dereference after null check")
Fixes: be7fd3c3a8c5 ("media: em28xx: Hauppauge DualHD second tuner functionality")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions