summaryrefslogtreecommitdiffstats
path: root/drivers/net/eepro.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-08-26 00:40:29 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-08-26 00:40:29 +0200
commite8a2eb47e6ca03d4a4f98f0beef73720c5dddc0c (patch)
tree31c4d7718111abddfaaa8d3fb14ab4a7e2554cd9 /drivers/net/eepro.c
parentx86: properly annotate alternatives.c (diff)
parentx86: Fix build with older binutils and consolidate linker script (diff)
downloadlinux-e8a2eb47e6ca03d4a4f98f0beef73720c5dddc0c.tar.xz
linux-e8a2eb47e6ca03d4a4f98f0beef73720c5dddc0c.zip
Merge commit 'origin/x86/urgent' into x86/asm
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r--drivers/net/eepro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c
index cc2ab6412c73..4f7003485348 100644
--- a/drivers/net/eepro.c
+++ b/drivers/net/eepro.c
@@ -1784,7 +1784,7 @@ int __init init_module(void)
printk(KERN_INFO "eepro_init_module: Auto-detecting boards (May God protect us...)\n");
}
- for (i = 0; io[i] != -1 && i < MAX_EEPRO; i++) {
+ for (i = 0; i < MAX_EEPRO && io[i] != -1; i++) {
dev = alloc_etherdev(sizeof(struct eepro_local));
if (!dev)
break;