[ALSA] Replace with kzalloc() - isa stuff
ES18xx driver,OPL3SA2 driver,AD1816A driver,AD1848 driver,CS4231 driver ES1688 driver,GUS Library,Opti9xx drivers,EMU8000 driver SB16/AWE driver,SB drivers Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Jaroslav Kysela

parent
ecca82b4b4
commit
9e76a76efc
@@ -233,7 +233,7 @@ static int emu8k_pcm_open(snd_pcm_substream_t *subs)
|
||||
emu8k_pcm_t *rec;
|
||||
snd_pcm_runtime_t *runtime = subs->runtime;
|
||||
|
||||
rec = kcalloc(1, sizeof(*rec), GFP_KERNEL);
|
||||
rec = kzalloc(sizeof(*rec), GFP_KERNEL);
|
||||
if (! rec)
|
||||
return -ENOMEM;
|
||||
|
||||
|
Reference in New Issue
Block a user