projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06c1dd
)
ieee1394: eth1394: correct a memset argument
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Mon, 2 Apr 2007 00:15:21 +0000
(
02:15
+0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 29 Apr 2007 22:00:31 +0000
(
00:00
+0200)
The old argument calculated the correct value in a wrong way.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/eth1394.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/eth1394.c
b/drivers/ieee1394/eth1394.c
index 66c4cca134dbf60a59e09e45892f75d7ca57a096..9521d8e241adcccbddfbb98ca603c241eb7f2b29 100644
(file)
--- 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)
spin_lock_irqsave(&priv->lock, flags);
- memset(priv->ud_list, 0, sizeof(
struct node_entry*) * ALL_NODES
);
+ memset(priv->ud_list, 0, sizeof(
priv->ud_list)
);
priv->bc_maxpayload = 512;
/* Determine speed limit */