diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-07 08:53:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-07 08:53:30 +0200 |
commit | 4a35ecf8bf1c4b039503fa554100fe85c761de76 (patch) | |
tree | 9b75f5d5636004d9a9aa496924377379be09aa1f /drivers/net/ksz884x.c | |
parent | NET: usb: Adding URB_ZERO_PACKET flag to usbnet.c (diff) | |
parent | smc91c92_cs: fix the problem of "Unable to find hardware address" (diff) | |
download | linux-4a35ecf8bf1c4b039503fa554100fe85c761de76.tar.xz linux-4a35ecf8bf1c4b039503fa554100fe85c761de76.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/bonding/bond_main.c
drivers/net/via-velocity.c
drivers/net/wireless/iwlwifi/iwl-agn.c
Diffstat (limited to 'drivers/net/ksz884x.c')
-rw-r--r-- | drivers/net/ksz884x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c index 348769521615..097796423b52 100644 --- a/drivers/net/ksz884x.c +++ b/drivers/net/ksz884x.c @@ -6318,7 +6318,7 @@ static int netdev_set_eeprom(struct net_device *dev, int len; if (eeprom->magic != EEPROM_MAGIC) - return 1; + return -EINVAL; len = (eeprom->offset + eeprom->len + 1) / 2; for (i = eeprom->offset / 2; i < len; i++) |