aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorChuhong Yuan <[email protected]>2019-10-15 10:59:15 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-24 18:48:56 -0300
commita0219deefe9ee5006a28d48522f76b217d198c51 (patch)
tree360fea14b0de5460333dc1ad78307cfde169fd17 /tools/perf/scripts/python/bin/stackcollapse-record
parent61c03b631b74a38ab53753f3ee971a55886d4843 (diff)
media: imx7-mipi-csis: Add a check for devm_regulator_get
devm_regulator_get may return an error but mipi_csis_phy_init misses a check for it. This may lead to problems when regulator_set_voltage uses the unchecked pointer. This patch adds a check for devm_regulator_get to avoid potential risk. Signed-off-by: Chuhong Yuan <[email protected]> Reviewed-by: Rui Miguel Silva <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions