Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762911AbZATXj0 (ORCPT ); Tue, 20 Jan 2009 18:39:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756976AbZATXjN (ORCPT ); Tue, 20 Jan 2009 18:39:13 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:57746 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753547AbZATXjN (ORCPT ); Tue, 20 Jan 2009 18:39:13 -0500 Date: Tue, 20 Jan 2009 15:39:14 -0800 (PST) Message-Id: <20090120.153914.208764614.davem@davemloft.net> To: arnd@arndb.de Cc: ceggers@gmx.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] usb/mcs7830: Don't use buffers from stack for USB transfers From: David Miller In-Reply-To: <200901210037.51622.arnd@arndb.de> References: <200901210017.19038.arnd@arndb.de> <20090120.152345.78877396.davem@davemloft.net> <200901210037.51622.arnd@arndb.de> X-Mailer: Mew version 6.1 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: 574 Lines: 14 From: Arnd Bergmann Date: Wed, 21 Jan 2009 00:37:51 +0100 > On a related topic, can we put something in place that can check for > this error at run-time, like a WARN_ON(is_kernel_stack(addr)) in > dma_map_single? That would be something for the DMA API debugging patches that have been floating around lately. -- 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/