[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4892E280.8050907@cn.fujitsu.com>
Date: Fri, 01 Aug 2008 18:16:32 +0800
From: Wang Chen <wangchen@...fujitsu.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH]&[Question] netdevice: Use netdev_priv()
David Miller said the following on 2008-8-1 18:08:
> From: Wang Chen <wangchen@...fujitsu.com>
> Date: Fri, 01 Aug 2008 17:50:15 +0800
>
>> That make me think, what the use of netdev->priv?
>> We have netdev_priv() and use it flexibly. Why don't kill netdev->priv?
>
> Way too many old drivers still reference netdev->priv directly.
>
> Once we convert all of them to netdev_priv(), yes we can kill
> netdev->priv
>
Thanks for the explanation.
Then next question comes.
We *have to* convert the drivers to use netdev_priv(), right?
Because, netdev->priv == netdev_priv() maybe change again in future,
just as before.
--
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