From: Jochen Hein <jochen@jochen.org>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Linus Torvalds <torvalds@transmeta.com>
Subject: [2.5.53, PATCH] fix uninitialized timer in yenta.c
Date: Sat, 28 Dec 2002 10:07:04 +0100 [thread overview]
Message-ID: <87znqqcy13.fsf@gswi1164.jochen.org> (raw)
The following patch fixes a "uninitialized timer" message when loading
yenta_socket.ko.
--- linux-2.5.53/drivers/pcmcia/yenta.c.jh 2002-12-10 03:46:11.000000000 +0100
+++ linux-2.5.53/drivers/pcmcia/yenta.c 2002-12-28 09:45:56.000000000 +0100
@@ -593,6 +593,7 @@
if (!socket->cb_irq || request_irq(socket->cb_irq, yenta_interrupt, SA_SHIRQ, socket->dev->dev.name, socket)) {
/* No IRQ or request_irq failed. Poll */
socket->cb_irq = 0; /* But zero is a valid IRQ number. */
+ init_timer(&socket->poll_timer);
socket->poll_timer.function = yenta_interrupt_wrapper;
socket->poll_timer.data = (unsigned long)socket;
socket->poll_timer.expires = jiffies + HZ;
--
Wenn Du nicht weißt was Du tust, tu's mit Eleganz.
reply other threads:[~2002-12-28 9:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87znqqcy13.fsf@gswi1164.jochen.org \
--to=jochen@jochen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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
all inboxes | Powered by JetHome®