The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Jochen Hein <jochen@jochen.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5] pcnet_cs, uninitialized timer when removing
Date: Fri, 22 Nov 2002 10:19:22 -0800	[thread overview]
Message-ID: <3DDE752A.EB4B7A49@digeo.com> (raw)
In-Reply-To: 87hee9u22k.fsf@gswi1164.jochen.org

Jochen Hein wrote:
> 
> When I remove the card I get:
> 
> ...
> 
> Trace; c0121660 <check_timer_failed+40/4c>
> Trace; c6ab9e64 <[pcnet_cs]pcnet_release+0/74>

Thanks, I'll fix that up.


--- 25/drivers/net/pcmcia/pcnet_cs.c~timer-mopup	Fri Nov 22 10:16:49 2002
+++ 25-akpm/drivers/net/pcmcia/pcnet_cs.c	Fri Nov 22 10:17:09 2002
@@ -300,7 +300,8 @@ static dev_link_t *pcnet_attach(void)
     memset(info, 0, sizeof(*info));
     link = &info->link; dev = &info->dev;
     link->priv = info;
-    
+
+    init_timer(&link->release);
     link->release.function = &pcnet_release;
     link->release.data = (u_long)link;
     link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;

_

      reply	other threads:[~2002-11-22 18:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-22 14:11 [2.5] pcnet_cs, uninitialized timer when removing Jochen Hein
2002-11-22 18:19 ` Andrew Morton [this message]

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=3DDE752A.EB4B7A49@digeo.com \
    --to=akpm@digeo.com \
    --cc=jochen@jochen.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox