diff options
author | Yizhuo <yzhai003@ucr.edu> | 2019-01-25 10:45:37 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-28 12:34:39 +0000 |
commit | e20bfeb0b7d808bc05e7c4cb1f492cd31d837da0 (patch) | |
tree | dd510bc10a9dbf66038a01b537be197418e56b7a /include/sound | |
parent | 5e484ec1758b95e6420787fc17f0e8c5e152c264 (diff) | |
download | linux-e20bfeb0b7d808bc05e7c4cb1f492cd31d837da0.tar.gz linux-e20bfeb0b7d808bc05e7c4cb1f492cd31d837da0.tar.bz2 linux-e20bfeb0b7d808bc05e7c4cb1f492cd31d837da0.zip |
ASoC: rt5651: Variable "ret" in function rt5651_i2c_probe() could be uninitialized
In function rt5651_i2c_probe(), local variable "ret" could
be uninitialized if function regmap_read() returns -EINVAL.
However, this value is used in if statement. This is
potentially unsafe.
Signed-off-by: Yizhuo <yzhai003@ucr.edu>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions