snd_printk("unable to register OSS mixer device %i:%i\n", card->number, 0); 
snd_printk(KERN_ERR "unable to register OSS mixer device %i:%i\n", card->number, 0); 
static int snd_mixer_oss_notify_handler(snd_card_t * card, int cmd){	snd_mixer_oss_t *mixer;	if (cmd == SND_MIXER_OSS_NOTIFY_REGISTER) {		char name[128];		int idx, err;		mixer = kcalloc(2, sizeof(*mixer), GFP_KERNEL);		if (mixer == NULL)			return -ENOMEM;		init_MUTEX(&mixer->reg_mutex);		sprintf(name, "mixer%i%i", card->number, 0);		if ((err = snd_register_oss_device(SNDRV_OSS_DEVICE_TYPE_MIXER,						   card, 0,						   &snd_mixer_oss_reg,						   name)) < 0) {			snd_printk("unable to register OSS mixer device %i:%i\n", card->number, 0);			kfree(mixer);			return err;		}		mixer->oss_dev_alloc = 1;		mixer->card = card;		if (*card->mixername)			strlcpy(mixer->name, card->mixername, sizeof(mixer->name));		else			strlcpy(mixer->name, name, sizeof(mixer->name));#ifdef SNDRV_OSS_INFO_DEV_MIXERS		snd_oss_info_register(SNDRV_OSS_INFO_DEV_MIXERS,				      card->number,				      mixer->name);#endif		for (idx = 0; idx < SNDRV_OSS_MAX_MIXERS; idx++)			mixer->slots[idx].number = idx;		card->mixer_oss = mixer;		snd_mixer_oss_build(mixer);		snd_mixer_oss_proc_init(mixer);	} else if (cmd == SND_MIXER_OSS_NOTIFY_DISCONNECT) {		mixer = card->mixer_oss;		if (mixer == NULL || !mixer->oss_dev_alloc)			return 0;		snd_unregister_oss_device(SNDRV_OSS_DEVICE_TYPE_MIXER, mixer->card, 0);		mixer->oss_dev_alloc = 0;	} else {		/* free */		mixer = card->mixer_oss;		if (mixer == NULL)			return 0;#ifdef SNDRV_OSS_INFO_DEV_MIXERS		snd_oss_info_unregister(SNDRV_OSS_INFO_DEV_MIXERS, mixer->card->number);#endif		if (mixer->oss_dev_alloc)			snd_unregister_oss_device(SNDRV_OSS_DEVICE_TYPE_MIXER, mixer->card, 0);		snd_mixer_oss_proc_done(mixer);		return snd_mixer_oss_free1(mixer);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d3d579f84ebf701dedd22ba696d1738ed6759ef7/mixer_oss.c/buggy/sound/core/oss/mixer_oss.c