projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0884484
)
[ALSA] Use kstrdup
author
Takashi Iwai
<tiwai@suse.de>
Thu, 30 Jun 2005 08:54:33 +0000
(10:54 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 28 Jul 2005 10:09:52 +0000
(12:09 +0200)
HDA Codec driver
Use the new kstrdup() function instead of in-house one.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index 01cc58a247c18da11151669df81503a0727184a2..07d06f7c4390fcad2a036f9c4bcb3468870430a4 100644
(file)
--- a/
sound/pci/hda/patch_sigmatel.c
+++ b/
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 =
k
strdup(name, GFP_KERNEL);
if (! knew->name)
return -ENOMEM;
knew->private_value = val;