aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-10-14 04:32:24 -0300
committerMauro Carvalho Chehab <[email protected]>2016-11-16 13:05:36 -0200
commit6b2bed891253c08e7f4c17dbd46b71fc87f22eef (patch)
tree84f9ebc73aea14152802d5992a5afb147c6332a7 /tools/perf/scripts/python/stackcollapse.py
parenteadf081146ec327d6fbbb6aff28e3d9aac329dc6 (diff)
[media] st-hva: fix some error handling in hva_hw_probe()
The devm_ioremap_resource() returns error pointers, never NULL. The platform_get_resource() returns NULL on error, never error pointers. The error code needs to be set, as well. The current code returns PTR_ERR(NULL) which is success. Fixes: 57b2c0628b60 ("[media] st-hva: multi-format video encoder V4L2 driver") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Jean-Christophe Trotin <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions