 snd_assert(card != NULL && device_data != NULL, return -ENXIO); 
 snd_assert(card != NULL, return -ENXIO); snd_assert(device_data != NULL, return -ENXIO); 
int snd_device_register(snd_card_t *card, void *device_data){	struct list_head *list;	snd_device_t *dev;	int err;		snd_assert(card != NULL && device_data != NULL, return -ENXIO);	list_for_each(list, &card->devices) {		dev = snd_device(list);		if (dev->device_data != device_data)			continue;		if (dev->state == SNDRV_DEV_BUILD && dev->ops->dev_register) {			if ((err = dev->ops->dev_register(dev)) < 0)				return err;			dev->state = SNDRV_DEV_REGISTERED;			return 0;		}		return -EBUSY;	}	snd_BUG();	return -ENXIO;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a3352f01ea2d38b0d5b7b63de754e94b9aba0390/device.c/buggy/sound/core/device.c