diff options
author | Yizhuo <yzhai003@ucr.edu> | 2019-01-03 13:59:12 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-04 13:49:23 +0000 |
commit | 8c3590de0a378c2449fc1aec127cc693632458e4 (patch) | |
tree | c800ec541c9d7d28ecaaa11094e07d0ed8ee31b1 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions