commit | 8c3590de0a378c2449fc1aec127cc693632458e4 | [log] [tgz] |
---|---|---|
author | Yizhuo <yzhai003@ucr.edu> | Thu Jan 03 13:59:12 2019 -0800 |
committer | Mark Brown <broonie@kernel.org> | Fri Jan 04 13:49:23 2019 +0000 |
tree | c800ec541c9d7d28ecaaa11094e07d0ed8ee31b1 | |
parent | 22c7d5e7bad1fb2d8b9c611acb55a389f5d848d8 [diff] |
ASoC: Variable "val" in function rt274_i2c_probe() could be uninitialized Inside function rt274_i2c_probe(), if regmap_read() function returns -EINVAL, then local variable "val" leaves uninitialized but used in if statement. This is potentially unsafe. Signed-off-by: Yizhuo <yzhai003@ucr.edu> Signed-off-by: Mark Brown <broonie@kernel.org>