diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-10-09 14:12:05 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-10-13 23:24:10 +0200 |
commit | 6c59a17b0d59dbffa62d0b3b8e648ccad02ea82f (patch) | |
tree | b533b2595e73fc560f974b93790f824666c1a4af /include/media/drv-intf/s3c_camif.h | |
parent | power: supply: ltc2941: Fix ptr to enum cast (diff) | |
download | linux-6c59a17b0d59dbffa62d0b3b8e648ccad02ea82f.tar.xz linux-6c59a17b0d59dbffa62d0b3b8e648ccad02ea82f.zip |
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 <dmurphy@ti.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/media/drv-intf/s3c_camif.h')
0 files changed, 0 insertions, 0 deletions