Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALSA: line6: fix a crash in line6_hwdep_write()
The error checking here is messed up so we could end up dereferencing -EFAULT. Fixes: a16039c ('ALSA: line6: Add hwdep interface to access the POD control messages') Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Takashi Sakamoto <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information