[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150115.181908.1075649419660019957.davem@davemloft.net>
Date: Thu, 15 Jan 2015 18:19:08 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, stephen@...workplumber.org,
kaber@...sh.net, bridge@...ts.linux-foundation.org,
buytenh@...tstofly.org
Subject: Re: [PATCH net-next 1/2] net: ipv4: handle DSA enabled master
network devices
From: Florian Fainelli <f.fainelli@...il.com>
Date: Wed, 14 Jan 2015 09:52:11 -0800
> - /* bring loopback device up first */
> + /* bring loopback an DSA master network devices up first */
Typo: "an" should be "and"
> - if (dev != ic_dev) {
> + /* Only bring down unused devices and not DSA enabled master
> + * devices
> + */
> + if (dev != ic_dev && !netdev_uses_dsa(dev)) {
You don't have to add a comment which just reads the code, I'm
a programmer so I am able to do that all on my own :-)
--
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