diff options
author | Yizhuo <[email protected]> | 2019-01-25 10:45:37 -0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-01-28 12:34:39 +0000 |
commit | e20bfeb0b7d808bc05e7c4cb1f492cd31d837da0 (patch) | |
tree | dd510bc10a9dbf66038a01b537be197418e56b7a /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5e484ec1758b95e6420787fc17f0e8c5e152c264 (diff) |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions