git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
462e58f
)
ath5k: use compare_ether_addr on MAC addresses instead of memcmp
author
Jonathan Bither
<jonbither@gmail.com>
Thu, 12 Apr 2012 19:44:47 +0000
(15:44 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 16 Apr 2012 18:16:59 +0000
(14:16 -0400)
Following Felix's recent patchset as an example I have replaced memcmp with
compare_ether_addr.
"Because of the constant size and guaranteed 16 bit alignment, the inline
compare_ether_addr function is much cheaper than calling memcmp."
Signed-off-by: Jonathan Bither <jonbither@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
No differences found