Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030274AbVLMWJ3 (ORCPT ); Tue, 13 Dec 2005 17:09:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030275AbVLMWJ3 (ORCPT ); Tue, 13 Dec 2005 17:09:29 -0500 Received: from anf141.internetdsl.tpnet.pl ([83.17.87.141]:36324 "EHLO anf141.internetdsl.tpnet.pl") by vger.kernel.org with ESMTP id S1030274AbVLMWJ2 (ORCPT ); Tue, 13 Dec 2005 17:09:28 -0500 From: "Rafael J. Wysocki" To: David Brownell Subject: Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes Date: Tue, 13 Dec 2005 23:10:35 +0100 User-Agent: KMail/1.9 Cc: linux-usb-devel@lists.sourceforge.net, Andrew Morton , linux-kernel@vger.kernel.org References: <20051211041308.7bb19454.akpm@osdl.org> <20051212122914.1bd36f32.akpm@osdl.org> <200512122252.53814.david-b@pacbell.net> In-Reply-To: <200512122252.53814.david-b@pacbell.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512132310.35610.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 20 On Tuesday, 13 December 2005 07:52, David Brownell wrote: > > > > if ((status & STS_PCD) && device_may_wakeup(&hcd->self.root_hub->dev)) { > > What happens if you make that line read > > if ((status & STS_PCD) != 0) { > > and ignore the root hub thing? So far, so good. It works and hasn't triggered the oops yet. I'll report if there's anything wrong with it. Greetings, Rafael - 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/