Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752031AbZL1JpY (ORCPT ); Mon, 28 Dec 2009 04:45:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751670AbZL1JpX (ORCPT ); Mon, 28 Dec 2009 04:45:23 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:52043 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbZL1JpV (ORCPT ); Mon, 28 Dec 2009 04:45:21 -0500 Date: Mon, 28 Dec 2009 10:44:44 +0100 From: Ingo Molnar To: Len Brown Cc: Linus Torvalds , Dmitry Torokhov , Matthew Garrett , Linux Kernel Mailing List Subject: Re: -tip: origin tree boot crash Message-ID: <20091228094444.GG24690@elte.hu> References: <20091225102731.GA25513@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1249 Lines: 33 * Len Brown wrote: > On Sat, 26 Dec 2009, Len Brown wrote: > > > > [ 28.643216] evbug.c: Connected device: input1 (Dell WMI hotkeys at wmi/input0) > > > [ 28.650449] BUG: unable to handle kernel NULL pointer dereference at 00000014 > > > [ 28.654439] IP: [] wmi_install_notify_handler+0x31/0x70 > > > > Rather than reverting the broken patch that caused wmi to load, > > does applying this patch to deal with the broken error handling > > cause the oops to go away? > > > Subject: [PATCH] Revert "wmi: Free the allocated acpi objects through wmi_get_event_data" > > > > This reverts commit 3e9b988e4edf065d39c1343937f717319b1c1065. > > These kfree's look correct, assuming we properly check > the return status. So perhaps instead you can test > the patch below? Applied it to tip:out-of-tree for testing, and have dropped the revert as well. Will let you know how it goes. (if you dont hear from me later today you an assume it's all fixed.) Thanks, Ingo -- 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/