aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2022-02-24 14:10:34 -0700
committerJonathan Cameron <[email protected]>2022-02-26 18:07:10 +0000
commit185897d03ca3c4c98eff5cbf151671c5f88165fb (patch)
treee679972c55776492ebef1735c64054ef5d1067da /tools/perf/scripts/python/syscall-counts.py
parent7948d301c24887a27ff560ca91f8b4cf4cd8e0c8 (diff)
iio: accel: adxl367: Fix handled initialization in adxl367_irq_handler()
Clang warns: drivers/iio/accel/adxl367.c:887:2: error: variable 'handled' is uninitialized when used here [-Werror,-Wuninitialized] handled |= adxl367_push_event(indio_dev, status); ^~~~~~~ drivers/iio/accel/adxl367.c:879:14: note: initialize the variable 'handled' to silence this warning bool handled; ^ = 0 1 error generated. This should have used '=' instead of '|='; make that change to resolve the warning. Fixes: cbab791c5e2a ("iio: accel: add ADXL367 driver") Link: https://github.com/ClangBuiltLinux/linux/issues/1605 Reported-by: kernel test robot <[email protected]> Reported-by: Colin Ian King <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions