Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758242AbZJTCgu (ORCPT ); Mon, 19 Oct 2009 22:36:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757355AbZJTCgu (ORCPT ); Mon, 19 Oct 2009 22:36:50 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:51873 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756744AbZJTCgt (ORCPT ); Mon, 19 Oct 2009 22:36:49 -0400 Date: Mon, 19 Oct 2009 19:37:11 -0700 (PDT) Message-Id: <20091019.193711.147629067.davem@davemloft.net> To: hidave.darkstar@gmail.com Cc: marcel@holtmann.org, alan@lxorguk.ukuu.org.uk, oliver@hartkopp.net, netdev@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] bluetooth: scheduling while atomic bug fix From: David Miller In-Reply-To: <20091019062441.GA4102@darkstar.vlan7> References: <20091019062441.GA4102@darkstar.vlan7> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 18 From: Dave Young Date: Mon, 19 Oct 2009 14:24:41 +0800 > Due to driver core changes dev_set_drvdata will call kzalloc which should be > in might_sleep context, but hci_conn_add will be called in atomic context > > Like dev_set_name move dev_set_drvdata to work queue function. > > oops as following: ... > Signed-off-by: Dave Young Applied. -- 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/