Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp610983ima; Fri, 1 Feb 2019 08:11:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ymEidQ+yn7Eyrh06+LJx08esev0a4qn5L4vGtzD0k2wSkAbCOWMaXw9nN8kM+I8oGk1OL X-Received: by 2002:a17:902:7c85:: with SMTP id y5mr39867944pll.63.1549037499114; Fri, 01 Feb 2019 08:11:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549037499; cv=none; d=google.com; s=arc-20160816; b=QFHpXxr+CWwddaOXkGBrG6L9beYSSktLyT8ucs2qLsKoetx8gBTIGAqBQUmy9j3Eoz d/abT1LjhXdKyJG+XvYSw5miVzCfEC4Xku9ysv+He5nNaytfzkpBZSsHz/25Z3aDLuxb co7Iu4GMHiN2ic0t+g3VOINgx3WkmWR4LEeYWy2cgp29uMTjUK8EXQlOlkjKLrpyml9z aXRienWX78TUcxlNvb87N/IDT8VUNGO/NHjMRBd2nV14d3kqR481/xsyIN+2So/evXLe 53a4bDzKAjoIWSO9a2BGPJ5AcdszW2KihyuFtvmdR0oPtDd5m4s7Hs/qiuaI8Gfpox35 0l4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AaapDOPirHs3uMr6qB9zC9lO3h9rWymXpgBYK9rm2rw=; b=ZZa7NqNuJ6dpOGyVjHyZORIMFDQAW5/AGpVWdmV4n3IGc2yTVhv1k8OV6K/LcLEJay NLODbU76E4Yl1OCibKgGWwyGljUQbDo3wfZoVivRWHBDgnso4bbQ19+cx3eTtrqeUvQ8 wtzpJFlGUw8VF1e7p7dF/uAaFL/zRVbxgm+lYRqnKscdl4GTbbCy65hIoGVQf6600U7+ +DTaix1M9GkXB8N56vM048ODEZjA9MI77A6d/LOrvHkFMG3bGuN75/N4DhkPw3JfGS3q CnlY7WPISza5K8+8cD3/I8ZET5jIqH2pas9sI7fRlx25w1Guth1KF7jG8h6wjIf7JC9Y lHzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k25si8124212pfe.10.2019.02.01.08.11.23; Fri, 01 Feb 2019 08:11:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730700AbfBAQKs (ORCPT + 99 others); Fri, 1 Feb 2019 11:10:48 -0500 Received: from verein.lst.de ([213.95.11.211]:35652 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfBAQKs (ORCPT ); Fri, 1 Feb 2019 11:10:48 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 99C4F68D93; Fri, 1 Feb 2019 17:10:45 +0100 (CET) Date: Fri, 1 Feb 2019 17:10:45 +0100 From: Christoph Hellwig 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 Subject: Re: [PATCH 03/18] net: caif: pass struct device to DMA API functions 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 Content-Disposition: inline In-Reply-To: <1cafba51-b652-5457-0dd7-77d64264c85e@arm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.