commit | 5607dddbfca774fb38bffadcb077fe03aa4ac5c6 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Mar 27 16:07:52 2018 +0300 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Mar 27 15:20:19 2018 +0200 |
tree | 9401e09e47c8398b1c9d302399fe339161cda506 | |
parent | 9066ae7ff5d89c0b5daa271e2d573540097a94fa [diff] |
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>