X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fsynth%2Femux%2Femux_effect.c;h=ec3fc1ba7fcabfe9a948bf8b5c05416b83979dec;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=f1a2af1774667bb33c2fdb1024c787f785229331;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/sound/synth/emux/emux_effect.c b/sound/synth/emux/emux_effect.c index f1a2af177..ec3fc1ba7 100644 --- a/sound/synth/emux/emux_effect.c +++ b/sound/synth/emux/emux_effect.c @@ -278,7 +278,7 @@ void snd_emux_create_effect(snd_emux_port_t *p) { int i; - p->effect = snd_kcalloc(sizeof(snd_emux_effect_table_t) * p->chset.max_channels, GFP_KERNEL); + p->effect = kcalloc(p->chset.max_channels, sizeof(snd_emux_effect_table_t), GFP_KERNEL); if (p->effect) { for (i = 0; i < p->chset.max_channels; i++) p->chset.channels[i].private = p->effect + i;