aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2017-08-16 20:14:07 -0400
committerMauro Carvalho Chehab <[email protected]>2017-08-20 08:26:53 -0400
commita874aabef9337f26c589858e7ea0ec6a6adbb129 (patch)
tree9ad7dbb4c3bf914ffe4fc28066c540cab10d7c0e /tools/perf/scripts/python
parentd088c3107e9718ca3271277693f80a42d4effe51 (diff)
media: coda/imx-vdoa: Check for platform_get_resource() error
platform_get_resource() may fail and in this case a NULL dereference will occur. Prevent this from happening by returning an error on platform_get_resource() failure. Fixes: b0444f18e0b18abce ("[media] coda: add i.MX6 VDOA driver") Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions