aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <[email protected]>2020-12-08 15:36:40 +0100
committerJonathan Cameron <[email protected]>2021-01-14 20:56:57 +0000
commit40c48fb79b9798954691f24b8ece1d3a7eb1b353 (patch)
treeec2b93da91c26e9447b0c0617481c4129621746f /tools/perf/util/scripting-engines/trace-event-python.c
parentefd597b2839a9895e8a98fcb0b76d2f545802cd4 (diff)
iio: common: st_sensors: fix possible infinite loop in st_sensors_irq_thread
Return a boolean value in st_sensors_new_samples_available routine in order to avoid an infinite loop in st_sensors_irq_thread if stat_drdy.addr is not defined or stat_drdy read fails Fixes: 90efe05562921 ("iio: st_sensors: harden interrupt handling") Reported-by: Jonathan Cameron <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/c9ec69ed349e7200c779fd7a5bf04c1aaa2817aa.1607438132.git.lorenzo@kernel.org Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions