summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-10-15 10:59:15 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-24 18:48:56 -0300
commita0219deefe9ee5006a28d48522f76b217d198c51 (patch)
tree360fea14b0de5460333dc1ad78307cfde169fd17 /scripts/bpf_helpers_doc.py
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 <hslester96@gmail.com> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions