]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: rawmidi: Fix ioctls X32 ABI
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 10:28:08 +0000 (11:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 16:44:51 +0000 (17:44 +0100)
commitd1d2843e8a0e406efb818b7579d51df4beb55d4e
tree3f560c5255fcb821d17860640d98c28d32252faa
parent3c6bc62d37d130a2487f8e95a3681812672bcaf9
ALSA: rawmidi: Fix ioctls X32 ABI

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>
sound/core/rawmidi_compat.c