git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath5k: use 3 instead of 0x00000003
[safe/jmp/linux-2.6]
/
drivers
/
net
/
pcnet32.c
diff --git
a/drivers/net/pcnet32.c
b/drivers/net/pcnet32.c
index
90498ff
..
c4b74e9
100644
(file)
--- a/
drivers/net/pcnet32.c
+++ b/
drivers/net/pcnet32.c
@@
-137,7
+137,7
@@
static const char pcnet32_gstrings_test[][ETH_GSTRING_LEN] = {
"Loopback test (offline)"
};
-#define PCNET32_TEST_LEN
(sizeof(pcnet32_gstrings_test) / ETH_GSTRING_LEN
)
+#define PCNET32_TEST_LEN
ARRAY_SIZE(pcnet32_gstrings_test
)
#define PCNET32_NUM_REGS 136