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:
f59d978
)
netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN
author
Alejandro Martinez Ruiz
<alex@flawedcode.org>
Thu, 18 Oct 2007 08:00:15 +0000
(10:00 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:03:36 +0000
(15:03 -0800)
Using ARRAY_SIZE() on arrays of the form array[][K] makes it unnecessary
to know the value of K when checking its size.
Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
No differences found