[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081003194720.GB15924@xi.wantstofly.org>
Date: Fri, 3 Oct 2008 21:47:20 +0200
From: Lennert Buytenhek <buytenh@...tstofly.org>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: netdev@...r.kernel.org, Byron Bradley <byron.bbradley@...il.com>,
Jesper Dangaard Brouer <jdb@...x.dk>,
Tim Ellis <tim.ellis@....com>,
Andy Fleming <afleming@...escale.com>,
Imre Kaloz <kaloz@...nwrt.org>, Nicolas Pitre <nico@....org>,
Dirk Teurlings <dirk@...xia.nl>,
Peter van Valderen <p.v.valderen@...il.com>
Subject: Re: [PATCH 3/6] [NET] dsa: add support for original DSA tagging format
On Fri, Oct 03, 2008 at 07:36:01PM +0200, Stephen Hemminger wrote:
> Please use stronger types..
>
> > +static inline int netdev_uses_dsa_tags(struct net_device *dev)
>
> I would use:
> static inline bool netdev_uses_dsa_tags(const struct net_device *dev)
>
>
> > +int dsa_uses_dsa_tags(void *dsa_ptr);
> extern bool dsa_uses_dsa_tags(const struct dsa_switch *dsa);
OK. Did the same thing for the trailer tag support.
--
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