Messages in this thread Patch in this message |  | | Date | Mon, 11 Nov 2002 10:05:03 -0800 | | From | Andrew Morton <> | | Subject | Re: 2.5.47: Uninitialized timer in bttv code |
| |
"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; _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |