[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4892E6EC.3040201@cn.fujitsu.com>
Date: Fri, 01 Aug 2008 18:35:24 +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:24:
> From: Wang Chen <wangchen@...fujitsu.com>
> Date: Fri, 01 Aug 2008 18:16:32 +0800
>
>> Then next question comes.
>> We *have to* convert the drivers to use netdev_priv(), right?
>
> No, we don't.
>
>> Because, netdev->priv == netdev_priv() maybe change again in future,
>> just as before.
>
> We will work to prevent that. I should not have allowed it to happen
> in the first place. :-)
>
How about add a comment to netdev->priv
void *priv; /* pointer to private data, referent me by netdev_priv()*/
--
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