aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorEvgeny Novikov <[email protected]>2021-08-10 18:29:43 +0200
committerMauro Carvalho Chehab <[email protected]>2021-09-30 10:07:43 +0200
commite16f5e39acd6d10cc63ae39bc0a77188ed828f22 (patch)
treee31d0edee9e7b2c5a19b758f197230a93f6aac08 /tools/perf/scripts/python/event_analyzing_sample.py
parentbbe54b1a75a397b62dd528100cfb2ffe558d92ee (diff)
media: atomisp: Fix error handling in probe
There were several issues with handling errors in lm3554_probe(): - Probe did not set the error code when v4l2_ctrl_handler_init() failed. - It intermixed gotos for handling errors of v4l2_ctrl_handler_init() and media_entity_pads_init(). - It did not set the error code for failures of v4l2_ctrl_new_custom(). - Probe did not free resources in case of failures of atomisp_register_i2c_module(). The patch fixes all these issues. Found by Linux Driver Verification project (linuxtesting.org). Link: https://lore.kernel.org/linux-media/[email protected] Signed-off-by: Evgeny Novikov <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions