diff options
author | Ricardo Rivera-Matos <r-rivera-matos@ti.com> | 2021-01-13 16:53:52 -0600 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2021-01-14 23:38:56 +0100 |
commit | c3f1813516477c014d41e207d95190daf0838107 (patch) | |
tree | 628f48c8d5f43a0c2a62330c8fd7b90ec70cf4cd /tools/perf/scripts/python/syscall-counts.py | |
parent | b059b48500dab78cb6c7be006280dbc001c0a46b (diff) |
power: supply: bq256xx: Fix BQ256XX_NUM_WD_VAL and bq256xx_watchdog_time[] overrun
Corrects BQ256XX_NUM_WD_VAL from value of "8" to "4" and fixes the issue when 'i'
is equal to array size then array index over runs the array
Fixes: 32e4978bb920 ("power: supply: bq256xx: Introduce the BQ256XX charger driver")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ricardo Rivera-Matos <r-rivera-matos@ti.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions