Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753671AbYKZAfW (ORCPT ); Tue, 25 Nov 2008 19:35:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751255AbYKZAfH (ORCPT ); Tue, 25 Nov 2008 19:35:07 -0500 Received: from einhorn.in-berlin.de ([192.109.42.8]:39000 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752314AbYKZAfG (ORCPT ); Tue, 25 Nov 2008 19:35:06 -0500 X-Envelope-From: stefanr@s5r6.in-berlin.de Date: Wed, 26 Nov 2008 01:34:55 +0100 (CET) From: Stefan Richter Subject: [PATCH] ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation To: linux1394-devel@lists.sourceforge.net cc: linux-kernel@vger.kernel.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 31 All callers of hpsb_register_addrspace() can sleep. Signed-off-by: Stefan Richter --- drivers/ieee1394/highlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/ieee1394/highlevel.c =================================================================== --- linux.orig/drivers/ieee1394/highlevel.c +++ linux/drivers/ieee1394/highlevel.c @@ -420,7 +420,7 @@ int hpsb_register_addrspace(struct hpsb_ return 0; } - as = kmalloc(sizeof(*as), GFP_ATOMIC); + as = kmalloc(sizeof(*as), GFP_KERNEL); if (!as) return 0; -- Stefan Richter -=====-==--- =-== ==-=- http://arcgraph.de/sr/ -- 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/