Re: [PATCH] xen block: remove driver_data direct access of struct device

2009-05-01 Thread Greg KH
On Thu, Apr 30, 2009 at 04:25:36PM -0700, Jeremy Fitzhardinge wrote: Chris Wright wrote: * Greg KH (g...@kroah.com) wrote: Thanks, will add it. Any objections for this to go through my driver-core tree to Linus for 2.6.31? None from me. Fine by me. Acked-by:

[PATCH] xen block: remove driver_data direct access of struct device

2009-04-30 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@suse.de In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so

Re: [PATCH] xen block: remove driver_data direct access of struct device

2009-04-30 Thread Chris Wright
* Greg Kroah-Hartman (gre...@suse.de) wrote: In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the

Re: [PATCH] xen block: remove driver_data direct access of struct device

2009-04-30 Thread Greg KH
On Thu, Apr 30, 2009 at 03:35:35PM -0700, Chris Wright wrote: * Greg Kroah-Hartman (gre...@suse.de) wrote: In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata()

Re: [PATCH] xen block: remove driver_data direct access of struct device

2009-04-30 Thread Chris Wright
* Greg KH (g...@kroah.com) wrote: On Thu, Apr 30, 2009 at 03:35:35PM -0700, Chris Wright wrote: * Greg Kroah-Hartman (gre...@suse.de) wrote: In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions

Re: [PATCH] xen block: remove driver_data direct access of struct device

2009-04-30 Thread Jeremy Fitzhardinge
Chris Wright wrote: * Greg KH (g...@kroah.com) wrote: Thanks, will add it. Any objections for this to go through my driver-core tree to Linus for 2.6.31? None from me. Fine by me. Acked-by: Jeremy Fitzhardinge jeremy.fitzhardi...@citrix.com J