Re: [PATCH 06/13] dev->priv to netdev_priv(dev), for drivers/net/ibm_emac

2007-08-03 Thread Yoann Padioleau
Eugene Surovegin <[EMAIL PROTECTED]> writes: > On Fri, Aug 03, 2007 at 07:34:19PM +0200, Yoann Padioleau wrote: >> >> Replacing accesses to dev->priv to netdev_priv(dev). The replacment >> is safe when netdev_priv is used to access a private structure that is >> right next to the net_device struc

Re: [PATCH 06/13] dev->priv to netdev_priv(dev), for drivers/net/ibm_emac

2007-08-03 Thread Eugene Surovegin
On Fri, Aug 03, 2007 at 07:34:19PM +0200, Yoann Padioleau wrote: > > Replacing accesses to dev->priv to netdev_priv(dev). The replacment > is safe when netdev_priv is used to access a private structure that is > right next to the net_device structure in memory. Cf > http://groups.google.com/group/

[PATCH 06/13] dev->priv to netdev_priv(dev), for drivers/net/ibm_emac

2007-08-03 Thread Yoann Padioleau
Replacing accesses to dev->priv to netdev_priv(dev). The replacment is safe when netdev_priv is used to access a private structure that is right next to the net_device structure in memory. Cf http://groups.google.com/group/comp.os.linux.development.system/browse_thread/thread/de19321bcd94dbb8/0d74