Return-Path: Date: Sun, 8 Jan 2012 22:34:23 +0200 From: Johan Hedberg To: David Herrmann Cc: linux-bluetooth@vger.kernel.org, padovan@profusion.mobi, marcel@holtmann.org Subject: Re: [PATCH] Bluetooth: hci-uart-ll: Use GFP_ATOMIC in open() Message-ID: <20120108203423.GG16731@x220.P-661HNU-F1> References: <1325945981-11330-1-git-send-email-dh.herrmann@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1325945981-11330-1-git-send-email-dh.herrmann@googlemail.com> List-ID: Hi David, On Sat, Jan 07, 2012, David Herrmann wrote: > The uart_proto open() callback is not called in atomic context so we can safely > sleep here. The caller hci_uart_set_proto() in hci_ldisc.c is an ioctl() handler > and therefore can sleep. > > Signed-off-by: David Herrmann > --- > drivers/bluetooth/hci_ll.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied to my bluetooth-next tree. Thanks. Johan