Thread (11 messages) flat view 11 messages, 4 authors, 2012-05-08

Re: [PATCH] net: compare_ether_addr[_64bits]() has no ordering

From: David Miller <davem@davemloft.net>
Date: 2012-05-08 06:27:54

From: Johannes Berg <johannes@sipsolutions.net>
Date: Tue, 08 May 2012 07:25:44 +0200
I suppose I could fix those first and then later change the type, but I
think having a "compare_ether_addr" function that returns *false* when
they *match* would be rather confusing. I'd rather have
"equal_ether_addr()" that returns *true* when they match.

I guess we could introduce equal_ether_addr() though and slowly convert,
keeping compare_ether_addr() as a sort of wrapper around it.
Indeed, this is one way to proceed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help