summaryrefslogtreecommitdiff
path: root/sound/core/misc.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-03-23 08:03:59 +0900
committerTakashi Iwai <tiwai@suse.de>2016-03-23 08:06:16 +0100
commit91d2178e26fdc806f33063f9df5904a48e3b6aeb (patch)
treebba54fcb578a5fc30a8b4f953cf2e98d628786da /sound/core/misc.c
parentc64c1437afb14ebc900e40910f31ffb20bf652ad (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