All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Weeks <greg.weeks@timesys.com>
To: linuxppc-embedded@ozlabs.org
Subject: [patch] fix gianfar unitilized spinlock.
Date: Wed, 16 Mar 2005 11:42:49 -0500	[thread overview]
Message-ID: <42386209.2070407@timesys.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 115 bytes --]

Fix unitilized spinlock in the gianfar tsec etherenet driver.

Signed-off-by: Greg Weeks <greg.weeks@timesys.com>


[-- Attachment #2: gianfar.spinlock.patch --]
[-- Type: text/x-patch, Size: 287 bytes --]

--- all/drivers/net/gianfar.c-orig
+++ all/drivers/net/gianfar.c

@@ -384,6 +384,8 @@
 	mii_info->mdio_read = &read_phy_reg;
 	mii_info->mdio_write = &write_phy_reg;
 
+        spin_lock_init(&mii_info->mdio_lock);
+
 	priv->mii_info = mii_info;
 
 	/* Reset the management interface */

             reply	other threads:[~2005-03-16 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 16:42 Greg Weeks [this message]
2005-03-16 16:51 ` [patch] fix gianfar unitilized spinlock Kumar Gala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42386209.2070407@timesys.com \
    --to=greg.weeks@timesys.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.