knew->name = snd_kmalloc_strdup(name, GFP_KERNEL); 
knew->name = kstrdup(name, GFP_KERNEL); 
static int add_control(struct alc_spec *spec, int type, const char *name, unsigned long val){	snd_kcontrol_new_t *knew;	if (spec->num_kctl_used >= spec->num_kctl_alloc) {		int num = spec->num_kctl_alloc + NUM_CONTROL_ALLOC;		knew = kcalloc(num + 1, sizeof(*knew), GFP_KERNEL); /* array + terminator */		if (! knew)			return -ENOMEM;		if (spec->kctl_alloc) {			memcpy(knew, spec->kctl_alloc, sizeof(*knew) * spec->num_kctl_alloc);			kfree(spec->kctl_alloc);		}		spec->kctl_alloc = knew;		spec->num_kctl_alloc = num;	}	knew = &spec->kctl_alloc[spec->num_kctl_used];	*knew = alc880_control_templates[type];	knew->name = snd_kmalloc_strdup(name, GFP_KERNEL);	if (! knew->name)		return -ENOMEM;	knew->private_value = val;	spec->num_kctl_used++;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/543537bd922692bc978e2e356fcd8bfc9c2ee7d5/patch_realtek.c/clean/sound/pci/hda/patch_realtek.c