diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-02-27 17:52:42 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-02-28 17:43:54 +0100 |
commit | 6236d8bb2afcfe71b88ecea554e0dc638090a45f (patch) | |
tree | d2561ef8ecefb7093dd39d8a96bef1613b9a98dd /sound/core/pcm_compat.c | |
parent | 473f414564528a819f0c2bb6b4bf26366b64c9ab (diff) | |
download | linux-6236d8bb2afcfe71b88ecea554e0dc638090a45f.tar.bz2 |
ALSA: ctl: Fix ioctls for X32 ABI
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>
Cc: <stable@vger.kernel.org> # v3.4+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_compat.c')
0 files changed, 0 insertions, 0 deletions