diff options
author | Ricardo Rivera-Matos <[email protected]> | 2021-01-13 16:53:52 -0600 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2021-01-14 23:38:56 +0100 |
commit | c3f1813516477c014d41e207d95190daf0838107 (patch) | |
tree | 628f48c8d5f43a0c2a62330c8fd7b90ec70cf4cd /include/linux/compiler_attributes.h | |
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 <[email protected]>
Signed-off-by: Ricardo Rivera-Matos <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions