summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorYizhuo <yzhai003@ucr.edu>2019-09-29 20:09:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-10 13:25:05 +0300
commite48c52747169e4a98a8efe589a24dfb7a08f704b (patch)
tree0e861d373c3398a4a74761260a654cd4893b83aa /sound
parent16bacd2121cd91a92fbe0e2479dc71a31946e437 (diff)
downloadlinux-e48c52747169e4a98a8efe589a24dfb7a08f704b.tar.xz
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 'sound')
0 files changed, 0 insertions, 0 deletions