|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
Re: [Xen-devel] [PATCH] cleanup "struct xenbus_driver" 
| 
On 11 Jul 2006, at 16:54, Gerd Hoffmann wrote:
 
I got "Driver 'vbd' needs updating - please use bus_type methods"
messages in the log; seems using both xenbus_frontend->bus->probe() and
xenbus_device->driver->probe() (which the patch does) is the reason for
that.
I've checked what others (pci for example) are doing, they have
pci_driver->probe() and friends too, so that probably is just fine.
 
Yes, effectively overloading the function pointers looked dodgy to me. 
They have their own device_driver -specific semantics that we do not 
share. 
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 |  | 
  
    |  |  |