From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 03/18] net: caif: pass struct device to DMA API functions Date: Fri, 1 Feb 2019 17:10:45 +0100 Message-ID: <20190201161045.GF6532@lst.de> References: <20190201084801.10983-1-hch@lst.de> <20190201084801.10983-4-hch@lst.de> <1cafba51-b652-5457-0dd7-77d64264c85e@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1cafba51-b652-5457-0dd7-77d64264c85e@arm.com> Sender: linux-kernel-owner@vger.kernel.org To: Robin Murphy Cc: Christoph Hellwig , John Crispin , Vinod Koul , Dmitry Tarnyagin , Nicolas Ferre , Sudip Mukherjee , Felipe Balbi , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, iommu@lists.linux-foundation.org List-Id: alsa-devel@alsa-project.org On Fri, Feb 01, 2019 at 01:53:09PM +0000, Robin Murphy wrote: >> #define LOW_WATER_MARK 100 >> #define HIGH_WATER_MARK (LOW_WATER_MARK*5) >> -#ifdef CONFIG_UML >> +#ifdef CONFIG_HAS_DMA > > #ifndef, surely? Indeed. From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Subject: [03/18] net: caif: pass struct device to DMA API functions From: Christoph Hellwig Message-Id: <20190201161045.GF6532@lst.de> Date: Fri, 1 Feb 2019 17:10:45 +0100 To: Robin Murphy Cc: Christoph Hellwig , John Crispin , Vinod Koul , Dmitry Tarnyagin , Nicolas Ferre , Sudip Mukherjee , Felipe Balbi , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, iommu@lists.linux-foundation.org List-ID: T24gRnJpLCBGZWIgMDEsIDIwMTkgYXQgMDE6NTM6MDlQTSArMDAwMCwgUm9iaW4gTXVycGh5IHdy b3RlOgo+PiAgICNkZWZpbmUgTE9XX1dBVEVSX01BUksgICAxMDAKPj4gICAjZGVmaW5lIEhJR0hf V0FURVJfTUFSSyAgKExPV19XQVRFUl9NQVJLKjUpCj4+ICAgLSNpZmRlZiBDT05GSUdfVU1MCj4+ ICsjaWZkZWYgQ09ORklHX0hBU19ETUEKPgo+ICNpZm5kZWYsIHN1cmVseT8KCkluZGVlZC4K From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Fri, 01 Feb 2019 16:10:45 +0000 Subject: Re: [PATCH 03/18] net: caif: pass struct device to DMA API functions Message-Id: <20190201161045.GF6532@lst.de> List-Id: References: <20190201084801.10983-1-hch@lst.de> <20190201084801.10983-4-hch@lst.de> <1cafba51-b652-5457-0dd7-77d64264c85e@arm.com> In-Reply-To: <1cafba51-b652-5457-0dd7-77d64264c85e@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Robin Murphy Cc: Christoph Hellwig , John Crispin , Vinod Koul , Dmitry Tarnyagin , Nicolas Ferre , Sudip Mukherjee , Felipe Balbi , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, iommu@lists.linux-foundation.org On Fri, Feb 01, 2019 at 01:53:09PM +0000, Robin Murphy wrote: >> #define LOW_WATER_MARK 100 >> #define HIGH_WATER_MARK (LOW_WATER_MARK*5) >> -#ifdef CONFIG_UML >> +#ifdef CONFIG_HAS_DMA > > #ifndef, surely? Indeed.