[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1344566286.17296.4.camel@cr0>
Date: Fri, 10 Aug 2012 10:38:06 +0800
From: Cong Wang <amwang@...hat.com>
To: Stephen Hemminger <stephen.hemminger@...tta.com>
Cc: netdev@...r.kernel.org, David Miller <davem@...emloft.net>,
Stephen Hemminger <shemminger@...tta.com>
Subject: Re: [PATCH 07/14] bridge: add some comments for NETDEV_RELEASE
On Thu, 2012-08-09 at 09:44 -1000, Stephen Hemminger wrote:
> If you are going to add an explanation, then I would prefer a more complete one. Something like:
> "Since more than one interface can be attached to a bridge, there still maybe an alternate path for netconsole to use; therefore there is no reason for a NETDEV_RELEASE event."
Yeah, this is better.
>
> But my opinion it really isn't necessary to document what isn't done in the code, only what is done. The purpose of comments is to explain the wider impacts of the code.
The reason why I add it is to remind people like me who forgot the
reason behind. ;)
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