aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-09-16 17:09:10 +0300
committerJonathan Cameron <[email protected]>2024-09-30 09:20:54 +0100
commit506a1ac4c4464a61e4336e135841067dbc040aaa (patch)
tree0df488748c93085ee9750a6439fed0bc04c4d69d /tools/perf/scripts/python/libxed.py
parentcd8247cd41bc983398f5eb572f660752adfe7a1a (diff)
iio: bmi323: fix copy and paste bugs in suspend resume
This code is using bmi323_reg_savestate[] and ->reg_settings[] instead of bmi323_ext_reg_savestate[] and ->ext_reg_settings[]. This was discovered by Smatch: drivers/iio/imu/bmi323/bmi323_core.c:2202 bmi323_core_runtime_suspend() error: buffer overflow 'bmi323_reg_savestate' 9 <= 11 Fixes: 16531118ba63 ("iio: bmi323: peripheral in lowest power state on suspend") Signed-off-by: Dan Carpenter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions