commit | fdd8218d7d1bd0ccb9a3f4c58bf77773691a56cc | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Oct 12 09:21:40 2016 +0300 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Oct 12 20:10:23 2016 +0200 |
tree | 357cdef6b64cc3afc2cdb4d102b56a9b0eacb2f9 | |
parent | 30c0702246ac1ba955aa97d698610169242f59f1 [diff] |
ALSA: line6: fix a crash in line6_hwdep_write() The error checking here is messed up so we could end up dereferencing -EFAULT. Fixes: a16039cbf1a1 ('ALSA: line6: Add hwdep interface to access the POD control messages') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>