[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081113.000114.66982563.davem@davemloft.net>
Date: Thu, 13 Nov 2008 00:01:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wangchen@...fujitsu.com
Cc: jgarzik@...ox.com, netdev@...r.kernel.org
Subject: Re: [PATCH 1/4 net-next] netdevice: safe convert to netdev_priv()
#part-1
From: Wang Chen <wangchen@...fujitsu.com>
Date: Thu, 13 Nov 2008 10:43:34 +0800
> We have some reasons to kill netdev->priv:
> 1. netdev->priv is equal to netdev_priv().
> 2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
> netdev_priv() is more flexible than netdev->priv.
> But we cann't kill netdev->priv, because so many drivers reference to it
> directly.
>
> This patch is a safe convert for netdev->priv to netdev_priv(netdev).
> Since all of the netdev->priv is only for read.
> But it is too big to be sent in one mail.
> I split it to 4 parts and make every part smaller than 100,000 bytes,
> which is max size allowed by vger.
>
> Signed-off-by: Wang Chen <wangchen@...fujitsu.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists