linux/sound/core
Takashi Sakamoto 4127e80a93 ALSA: seq: initialize whole fields of automatic variable with union type
Currently, automatic variable of 'union ioctl_arg' type is initialized
by designated initialization. Although, the actual effect is interpretation
of early element of int type and initialization of 'int pversion'.
Therefore the first field corresponding to int type is initialized to zero.
This is against my expectation to initialize whole fields.

This commit uses memset() to initialize the variable, instead of designated
initialization.

Fixes: 04a56dd8ed ('ALSA: seq: change ioctl command operation to get data in kernel space')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-08-31 14:09:05 +02:00
..
oss
seq ALSA: seq: initialize whole fields of automatic variable with union type 2016-08-31 14:09:05 +02:00
Kconfig
Makefile
compress_offload.c ALSA: compress: Use memdup_user() rather than duplicating its implementation 2016-08-22 14:04:18 +02:00
control.c Merge branch 'for-next' into for-linus 2016-07-25 17:01:14 +02:00
control_compat.c
ctljack.c
device.c
hrtimer.c
hwdep.c
hwdep_compat.c
info.c
info_oss.c
init.c
isadma.c
jack.c
memalloc.c
memory.c
misc.c
pcm.c ALSA: pcm: Free chmap at PCM free callback, too 2016-07-08 09:15:44 +02:00
pcm_compat.c
pcm_dmaengine.c
pcm_drm_eld.c
pcm_iec958.c
pcm_lib.c
pcm_memory.c
pcm_misc.c
pcm_native.c
pcm_timer.c
pcm_trace.h
rawmidi.c
rawmidi_compat.c
sgbuf.c
sound.c
sound_oss.c
timer.c ALSA: timer: Fix negative queue usage by racy accesses 2016-07-04 14:02:15 +02:00
timer_compat.c
vmaster.c