netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] mac80211: use eth_broadcast_addr
       [not found] <1343744471-5910-1-git-send-email-johannes@sipsolutions.net>
@ 2012-07-31 15:46 ` Joe Perches
  0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2012-07-31 15:46 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, Johannes Berg, netdev

On Tue, 2012-07-31 at 16:21 +0200, Johannes Berg wrote:
> Instead of memset().

Maybe just do them all?

git ls-files net drivers/net |
xargs perl -p -i -e 's/\bmemset\s*\(\s*([^,]+),\s*(?i:0xff|255)\s*\,\s*(ETH_ALEN|6)\s*\)/eth_broadcast_addr\(\1\)/g'

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-31 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1343744471-5910-1-git-send-email-johannes@sipsolutions.net>
2012-07-31 15:46 ` [PATCH] mac80211: use eth_broadcast_addr Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).