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)
commit2251fbbc1539f05b0b206b37a602d5776be37252
tree3f560c5255fcb821d17860640d98c28d32252faa
parentdd7e3f805231cf83317c39bd346d5e4839f5cbb0
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