memcpy(d->addr, addr, sizeof d->addr); 
aoedev_set(ulong sysminor, unsigned char *addr, struct net_device *ifp, ulong bufcnt){	struct aoedev *d;	ulong flags;	spin_lock_irqsave(&devlist_lock, flags);	for (d=devlist; d; d=d->next)		if (d->sysminor == sysminor		|| memcmp(d->addr, addr, sizeof d->addr) == 0)			break;	if (d == NULL && (d = aoedev_newdev(bufcnt)) == NULL) {		spin_unlock_irqrestore(&devlist_lock, flags);		printk(KERN_INFO "aoe: aoedev_set: aoedev_newdev failure.\n");		return NULL;	}	spin_unlock_irqrestore(&devlist_lock, flags);	spin_lock_irqsave(&d->lock, flags);	d->ifp = ifp;	if (d->sysminor != sysminor	|| (d->flags & DEVFL_UP) == 0) {		aoedev_downdev(d); /* flushes outstanding frames */		memcpy(d->addr, addr, sizeof d->addr);		d->sysminor = sysminor;		d->aoemajor = AOEMAJOR(sysminor);		d->aoeminor = AOEMINOR(sysminor);	}	spin_unlock_irqrestore(&d->lock, flags);	return d;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/93d489fc56f819d8805d80ae83cbafc5e5719804/aoedev.c/clean/drivers/block/aoe/aoedev.c