Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946089AbbEVWxV (ORCPT ); Fri, 22 May 2015 18:53:21 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:35567 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161034AbbEVWxS (ORCPT ); Fri, 22 May 2015 18:53:18 -0400 MIME-Version: 1.0 In-Reply-To: <5875.1432260403@turing-police.cc.vt.edu> References: <5875.1432260403@turing-police.cc.vt.edu> Date: Fri, 22 May 2015 15:53:16 -0700 Message-ID: Subject: Re: dell_rbtn - kernel panic at boot... From: Dmitry Torokhov To: Valdis Kletnieks Cc: Pali Rohar , Darren Hart , lkml , platform-driver-x86@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 737 Lines: 20 On Thu, May 21, 2015 at 7:06 PM, Valdis Kletnieks wrote: > So after I made both config variables =y, the resulting kernel built, but > died a glorious death at boot. I guess if both are built-in then, according to link order, dell-laptop starts first, before dell-rbtn, and dies in dell_rbtn_notifier_register() in call to driver_for_each_device(&rbtn_driver.drv, ...) because rbtn_driver has not been registered yet and thus half-initlalized. Thanks. -- Dmitry -- 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/