Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=027611b84260cf3adf14e30d2480007795829e6e
Commit:     027611b84260cf3adf14e30d2480007795829e6e
Parent:     d06c1ddad9055eef55456abbae795279d6b1bbcf
Author:     Stefan Richter <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 2 02:15:21 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Mon Apr 30 00:00:31 2007 +0200

    ieee1394: eth1394: correct a memset argument
    
    The old argument calculated the correct value in a wrong way.
    
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 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 66c4cca..9521d8e 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)
 
        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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to