commit | 69b05825e1f883d15d3d051d0eab3171e247ecaa | [log] [tgz] |
---|---|---|
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | Tue Sep 13 19:37:53 2016 +0900 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Sep 13 15:45:29 2016 +0200 |
tree | a0069de9a06b5fe2cde31bc1697cc324c7993ea0 | |
parent | 071f1344f47946dfcb511bf0fbc998dd9a83be29 [diff] |
ALSA: seq: fix to copy from/to user space When checking value of request for copy operation, current implementation compares shifted value to macros, while these macros are already shifted. As a result, it never performs to copy from/to user space. This commit fixes the bug. Fixes: 8ce8eb601c71('ALSA: seq: add an alternative way to handle ioctl requests' Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>