From: Andrew Morton <akpm@digeo.com>
To: "Udo A. Steinberg" <us15@os.inf.tu-dresden.de>
Cc: Linux-Kernel Mailing List <linux-kernel@vger.kernel.org>,
kraxel@bytesex.org
Subject: Re: 2.5.47: Uninitialized timer in bttv code
Date: Mon, 11 Nov 2002 10:05:03 -0800 [thread overview]
Message-ID: <3DCFF14F.3BAB81A6@digeo.com> (raw)
In-Reply-To: 20021111182641.104131b6.us15@os.inf.tu-dresden.de
"Udo A. Steinberg" wrote:
>
> Hi,
>
> The bttv code in 2.5.47 triggers the following warning about use of
> uninitialized timer here. If a patch exists for this issue, I'll happily
> test it.
>
Here you go.
I need to do another full pass across the tree to pick up the dynamically
allocated timers.
--- 25/drivers/media/video/bttv-driver.c~bttv-timer Mon Nov 11 10:02:49 2002
+++ 25-akpm/drivers/media/video/bttv-driver.c Mon Nov 11 10:03:03 2002
@@ -3225,6 +3225,7 @@ static int __devinit bttv_probe(struct p
INIT_LIST_HEAD(&btv->capture);
INIT_LIST_HEAD(&btv->vcapture);
+ init_timer(&btv->timeout);
btv->timeout.function = bttv_irq_timeout;
btv->timeout.data = (unsigned long)btv;
_
next prev parent reply other threads:[~2002-11-11 17:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 17:26 2.5.47: Uninitialized timer in bttv code Udo A. Steinberg
2002-11-11 18:00 ` Petr Vandrovec
2002-11-11 18:05 ` Andrew Morton [this message]
2002-11-11 20:09 ` Udo A. Steinberg
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=3DCFF14F.3BAB81A6@digeo.com \
--to=akpm@digeo.com \
--cc=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
--cc=us15@os.inf.tu-dresden.de \
/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