diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-02-27 17:52:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-09 15:31:55 -0800 |
commit | 6146f38b338b1b2bebc26f4b1cf2ef66f50de641 (patch) | |
tree | d8803a205e7e85e9ea3ff7466134d751b2c1620d /COPYING | |
parent | b723bb7c4fa9c68666386b5d83dde7d2bf2d08a8 (diff) | |
download | lwn-6146f38b338b1b2bebc26f4b1cf2ef66f50de641.tar.gz lwn-6146f38b338b1b2bebc26f4b1cf2ef66f50de641.zip |
ALSA: ctl: Fix ioctls for X32 ABI
commit 6236d8bb2afcfe71b88ecea554e0dc638090a45f upstream.
The X32 ABI takes the same alignment like x86-64, and this may result
in the incompatible struct size from ia32. Unfortunately, we hit this
in some control ABI: struct snd_ctl_elem_value differs between them
due to the position of 64bit variable array. This ends up with the
unknown ioctl (ENOTTY) error.
The fix is to add the compat entries for the new aligned struct.
Reported-and-tested-by: Steven Newbury <steve@snewbury.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions