|
@@ -2540,7 +2540,7 @@ static int snd_emu10k1_fx8010_ioctl(struct snd_hwdep * hw, struct file *file, un
|
|
|
emu->support_tlv = 1;
|
|
|
return put_user(SNDRV_EMU10K1_VERSION, (int __user *)argp);
|
|
|
case SNDRV_EMU10K1_IOCTL_INFO:
|
|
|
- info = kmalloc(sizeof(*info), GFP_KERNEL);
|
|
|
+ info = kzalloc(sizeof(*info), GFP_KERNEL);
|
|
|
if (!info)
|
|
|
return -ENOMEM;
|
|
|
snd_emu10k1_fx8010_info(emu, info);
|