diff options
-rw-r--r-- | sound/pci/emu10k1/emufx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/emufx.c index 90713741c2dc..6ebe817801ea 100644 --- a/sound/pci/emu10k1/emufx.c +++ b/sound/pci/emu10k1/emufx.c | |||
@@ -2540,7 +2540,7 @@ static int snd_emu10k1_fx8010_ioctl(struct snd_hwdep * hw, struct file *file, un | |||
2540 | emu->support_tlv = 1; | 2540 | emu->support_tlv = 1; |
2541 | return put_user(SNDRV_EMU10K1_VERSION, (int __user *)argp); | 2541 | return put_user(SNDRV_EMU10K1_VERSION, (int __user *)argp); |
2542 | case SNDRV_EMU10K1_IOCTL_INFO: | 2542 | case SNDRV_EMU10K1_IOCTL_INFO: |
2543 | info = kmalloc(sizeof(*info), GFP_KERNEL); | 2543 | info = kzalloc(sizeof(*info), GFP_KERNEL); |
2544 | if (!info) | 2544 | if (!info) |
2545 | return -ENOMEM; | 2545 | return -ENOMEM; |
2546 | snd_emu10k1_fx8010_info(emu, info); | 2546 | snd_emu10k1_fx8010_info(emu, info); |