diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-03-27 16:07:52 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-03-27 15:20:19 +0200 |
commit | 5607dddbfca774fb38bffadcb077fe03aa4ac5c6 (patch) | |
tree | 9401e09e47c8398b1c9d302399fe339161cda506 /sound/core/vmaster.c | |
parent | 9066ae7ff5d89c0b5daa271e2d573540097a94fa (diff) | |
download | linux-5607dddbfca774fb38bffadcb077fe03aa4ac5c6.tar.bz2 |
ALSA: pcm: potential uninitialized return values
Smatch complains that "tmp" can be uninitialized if we do a zero size
write.
Fixes: 02a5d6925cd3 ("ALSA: pcm: Avoid potential races between OSS ioctls and read/write")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/vmaster.c')
0 files changed, 0 insertions, 0 deletions