[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081208.011428.198068992.davem@davemloft.net>
Date: Mon, 08 Dec 2008 01:14:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wangchen@...fujitsu.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH next] netdevice: Kill netdev->priv
From: Wang Chen <wangchen@...fujitsu.com>
Date: Mon, 08 Dec 2008 13:35:54 +0800
> This is the last shoot of this series.
> After I removing all directly reference of netdev->priv, I am killing
> "priv" of "struct net_device" and fixing relative comments/docs.
>
> Anyone will not be allowed to reference netdev->priv directly.
> If you want to reference the memory of private data, use netdev_priv()
> instead.
> If the private data is not allocted when alloc_netdev(), use
> netdev->ml_priv to point that memory after you creating that private
> data.
>
> Signed-off-by: Wang Chen <wangchen@...fujitsu.com>
Applied.
Thanks so much for doing all of this work!
--
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