aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorYizhuo <[email protected]>2019-09-29 10:09:57 -0700
committerMark Brown <[email protected]>2019-10-01 18:36:42 +0100
commit1252b283141f03c3dffd139292c862cae10e174d (patch)
treebfdb5e1ecb4bb6a978405dcfcf422e9b29eab20e /lib/netdev-notifier-error-inject.c
parentf75841aa3b4bf02fcc7941af2d3e00ff74a93bdb (diff)
regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions