[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ko1rc4$nbp$1@ger.gmane.org>
Date: Tue, 28 May 2013 08:54:28 +0000 (UTC)
From: Cong Wang <xiyou.wangcong@...il.com>
To: netdev@...r.kernel.org
Subject: Re: [patch net-next v2 1/3] net: pass info struct via netdevice
notifier
On Tue, 28 May 2013 at 08:24 GMT, Jiri Pirko <jiri@...nulli.us> wrote:
> simeth_device_event(struct notifier_block *this,unsigned long event, void *ptr)
> {
> - struct net_device *dev = ptr;
> + struct net_device *dev = get_netdevice_nofifier_info_dev(ptr);
typo above....
BTW, get_netdevice_notifier_info_dev() really sucks, can we make it
shorter? For example, notifier_into_to_dev()?
Thanks.
--
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