Subject: Re: [PATCH] via-velocity: earlier name allocation

From: Sven Hartge <[email-masked]>
Date: Thu, 23 Oct 2008 09:29:34 +0200

Stephen Hemminger wrote:

> NAK
> 
> There is nothing to prevent that device name from being allocated by another device
> at that point.  The correct fix is to not use dev->name until after registering
> the network device.  Change the order of registration or pass dev_driver_string(&pdev->dev)
> instead of dev->name to velocity_get_options

Fine with me. This was just the hint I was looking for. If you don't
mind, I will mail a new patch for this case later.

S°