aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Murphy <[email protected]>2020-10-09 07:12:05 -0500
committerSebastian Reichel <[email protected]>2020-10-13 23:24:10 +0200
commit6c59a17b0d59dbffa62d0b3b8e648ccad02ea82f (patch)
treeb533b2595e73fc560f974b93790f824666c1a4af /tools/perf/util/trace-event-scripting.c
parent58d1620c4ded303b9d94fc68b23e5af1ec507de6 (diff)
power: supply: bq25980: Fix uninitialized wd_reg_val and overrun
Fix the issue when 'i' is equal to array size then array index over runs the array when checking for the watch dog value. Fixes: 5069185fc18e ("power: supply: bq25980: Add support for the BQ259xx family") Signed-off-by: Dan Murphy <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions