From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] etherdevice: introduce broadcast_ether_addr Date: Sun, 08 Jul 2012 23:58:08 -0700 (PDT) Message-ID: <20120708.235808.1602900783296556684.davem@davemloft.net> References: <1341310587.5131.2.camel@jlt3.sipsolutions.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org Return-path: In-Reply-To: <1341310587.5131.2.camel-8upI4CBIZJIJvtFkdXX2HixXY32XiHfO@public.gmane.org> Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org From: Johannes Berg Date: Tue, 03 Jul 2012 12:16:27 +0200 > From: Johannes Berg > > A lot of code has either the memset or an > inefficient copy from a static array that > contains the all-ones broadcast address. > Introduce broadcast_ether_addr() to fill > an address with all ones, making the code > clearer and allowing us to get rid of the > various constant arrays. > > Signed-off-by: Johannes Berg I would prefer if this were named "eth_something()", thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html