Re: 2.6.18-rc6-mm2: rmmod ohci_hcd oopses on HPC 6325

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 15 September 2006 3:45 pm, Pete Zaitcev wrote:
> On Thu, 14 Sep 2006 13:19:53 +0200, "Rafael J. Wysocki" <[email protected]> wrote:
> 
> > In fact I can reproduce it on two different boxes now.
> 
> How about the attached?
> 
> -- Pete

Signed-off-by: David Brownell <[email protected]>


> diff -urp -X dontdiff linux-2.6.18-rc6/drivers/usb/host/ohci-hcd.c linux-2.6.18-rc6-lem/drivers/usb/host/ohci-hcd.c
> --- linux-2.6.18-rc6/drivers/usb/host/ohci-hcd.c	2006-09-06 21:56:32.000000000 -0700
> +++ linux-2.6.18-rc6-lem/drivers/usb/host/ohci-hcd.c	2006-09-14 22:48:15.000000000 -0700
> @@ -775,7 +775,9 @@ static void ohci_stop (struct usb_hcd *h
>  
>  	ohci_usb_reset (ohci);
>  	ohci_writel (ohci, OHCI_INTR_MIE, &ohci->regs->intrdisable);
> -	
> +	free_irq(hcd->irq, hcd);
> +	hcd->irq = -1;
> +
>  	remove_debug_files (ohci);
>  	unregister_reboot_notifier (&ohci->reboot_notifier);
>  	ohci_mem_cleanup (ohci);
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux