diff options
| author | Yizhuo <yzhai003@ucr.edu> | 2019-09-29 10:09:57 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-10 11:21:05 +0100 |
| commit | 43de4298fb869a5a165b53a52f8e5496bce9aa3b (patch) | |
| tree | 181a9e8e2a34fd1ec7029f909ddffa1c3b691588 /include/linux/timerqueue.h | |
| parent | e5b219fb25c897339dfdd5abee083d57c67e435e (diff) | |
regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
[ Upstream commit 1252b283141f03c3dffd139292c862cae10e174d ]
In function pfuze100_regulator_probe(), variable "val" could be
initialized if regmap_read() fails. However, "val" is used to
decide the control flow later in the if statement, which is
potentially unsafe.
Signed-off-by: Yizhuo <yzhai003@ucr.edu>
Link: https://lore.kernel.org/r/20190929170957.14775-1-yzhai003@ucr.edu
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
