From 12ac995382e4ea916880864c977cf509525bb6eb Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 30 Jun 2005 10:54:33 +0200 Subject: [PATCH] --- yaml --- r: 5321 b: refs/heads/master c: 82fe0c5803f4c77ffeb4c1c2367defb3dcedad45 h: refs/heads/master i: 5319: 7a033c3d89c80002d4b3bbb8ee283bf689841264 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_sigmatel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index a5727159465a..6ecc0cc4e928 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0884484762f731a1d5446c0b618a74c5957dea4f +refs/heads/master: 82fe0c5803f4c77ffeb4c1c2367defb3dcedad45 diff --git a/trunk/sound/pci/hda/patch_sigmatel.c b/trunk/sound/pci/hda/patch_sigmatel.c index 01cc58a247c1..07d06f7c4390 100644 --- a/trunk/sound/pci/hda/patch_sigmatel.c +++ b/trunk/sound/pci/hda/patch_sigmatel.c @@ -540,7 +540,7 @@ static int stac92xx_add_control(struct sigmatel_spec *spec, int type, const char knew = &spec->kctl_alloc[spec->num_kctl_used]; *knew = stac92xx_control_templates[type]; - knew->name = snd_kmalloc_strdup(name, GFP_KERNEL); + knew->name = kstrdup(name, GFP_KERNEL); if (! knew->name) return -ENOMEM; knew->private_value = val;