]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: rawmidi: Fix ioctls X32 ABI
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 10:28:08 +0000 (11:28 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 9 Mar 2016 18:15:15 +0000 (13:15 -0500)
commite59edea51ad3491f1c110acc1a3f2b0b6ee31f62
treeb100f598f2861bbd2951432bfb731d97e1b0023e
parentbffe692e21f78b45735efd8aa0dd17f7141888db
ALSA: rawmidi: Fix ioctls X32 ABI

[ Upstream commit 2251fbbc1539f05b0b206b37a602d5776be37252 ]

Like the previous fixes for ctl and PCM, we need a fix for
incompatible X32 ABI regarding the rawmidi: namely, struct
snd_rawmidi_status has the timespec, and the size and the alignment on
X32 differ from IA32.

This patch fixes the incompatible ioctl for X32.

Cc: <stable@vger.kernel.org> # v3.4+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/core/rawmidi_compat.c