summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorYizhuo <yzhai003@ucr.edu>2019-10-03 10:58:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-04 13:34:10 +0100
commiteaa654d1e4f3c2194d8d4d2578aa9bce2dddec61 (patch)
tree42b6d71a9df9cef37699709b9af27d3b8fb0265e /include/linux/timerqueue.h
parentc6b766dde980641d6d2948dce25f1039be7776ba (diff)
regulator: max8907: Fix the usage of uninitialized variable in max8907_regulator_probe()
[ Upstream commit 472b39c3d1bba0616eb0e9a8fa3ad0f56927c7d7 ] Inside function max8907_regulator_probe(), variable val could be uninitialized if regmap_read() fails. However, val is used later in the if statement to decide the content written to "pmic", which is potentially unsafe. Signed-off-by: Yizhuo <yzhai003@ucr.edu> Link: https://lore.kernel.org/r/20191003175813.16415-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