diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-01 20:15:21 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-29 18:00:31 -0400 |
commit | 027611b84260cf3adf14e30d2480007795829e6e (patch) | |
tree | a19336ffb9a10967d03d3200b015b666108f4a8b /drivers/ieee1394 | |
parent | d06c1ddad9055eef55456abbae795279d6b1bbcf (diff) |
ieee1394: eth1394: correct a memset argument
The old argument calculated the correct value in a wrong way.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/eth1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c index 66c4cca134db..9521d8e241ad 100644 --- a/drivers/ieee1394/eth1394.c +++ b/drivers/ieee1394/eth1394.c | |||
@@ -472,7 +472,7 @@ static void ether1394_reset_priv(struct net_device *dev, int set_mtu) | |||
472 | 472 | ||
473 | spin_lock_irqsave(&priv->lock, flags); | 473 | spin_lock_irqsave(&priv->lock, flags); |
474 | 474 | ||
475 | memset(priv->ud_list, 0, sizeof(struct node_entry*) * ALL_NODES); | 475 | memset(priv->ud_list, 0, sizeof(priv->ud_list)); |
476 | priv->bc_maxpayload = 512; | 476 | priv->bc_maxpayload = 512; |
477 | 477 | ||
478 | /* Determine speed limit */ | 478 | /* Determine speed limit */ |