diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-03-23 08:03:59 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-03-23 08:06:16 +0100 |
commit | 91d2178e26fdc806f33063f9df5904a48e3b6aeb (patch) | |
tree | bba54fcb578a5fc30a8b4f953cf2e98d628786da /sound/core/misc.c | |
parent | c64c1437afb14ebc900e40910f31ffb20bf652ad (diff) |
ALSA: timer: fix gparams ioctl compatibility for different architectures
'struct snd_timer_gparams' includes some members with 'unsigned long',
therefore its size differs depending on data models of architecture. As
a result, x86/x32 applications fail to execute ioctl(2) with
SNDRV_TIMER_GPARAMS command on x86_64 machine.
This commit fixes this bug by adding a pair of structure and ioctl
command for the compatibility.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/misc.c')
0 files changed, 0 insertions, 0 deletions