aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2018-04-23 07:02:39 -0400
committerMauro Carvalho Chehab <[email protected]>2018-05-04 08:59:02 -0400
commitfd901b6e814afcbd54ca65a854f666bd6fe98b8f (patch)
tree4b2378b572943ac6c84d7847c120590c12bac873 /tools/perf/scripts/python/call-graph-from-sql.py
parentde6dddffec461b8d03821501aef092944701d13f (diff)
media: em28xx: Don't use ops->resume if NULL
Changeset be7fd3c3a8c5 ("media: em28xx: Hauppauge DualHD second tuner functionality") introduced a potential NULL pointer dereference, as pointed by Coverity: CID 1434731 (#1 of 1): Dereference after null check (FORWARD_NULL)16. var_deref_op: Dereferencing null pointer ops->resume. var_compare_op: Comparing ops->resume to null implies that ops->resume might be null. 1174 if (ops->resume) 1175 ops->resume(dev); 1176 if (dev->dev_next) 1177 ops->resume(dev->dev_next); Fixes: be7fd3c3a8c5 ("media: em28xx: Hauppauge DualHD second tuner functionality") Signed-off-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions