Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14192058pxu; Mon, 4 Jan 2021 15:47:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnOcqAzBf6tOn3VSox0BxQ04D0CdBuIsvPqB/5m5dUkf/SqeAAxC8TbJ7IN6sytqeGOa6Q X-Received: by 2002:aa7:ce16:: with SMTP id d22mr72899725edv.381.1609804030859; Mon, 04 Jan 2021 15:47:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609804030; cv=none; d=google.com; s=arc-20160816; b=mEb6LBA4UZTcohkkz0/tOABRmf1kZ2JNxdE4NCu7pmCxQLS+qnEgd2f218KjKsO373 UlyHAtGngnm7C+tA7csR4zt6zR3MSi5cONVr2rONjFRhE30SzfisRA/xbyACeJauDmAW ni3OMqFXCE4BHL6aHDY5BlftodpSflKThpuoUvnYdOq35aJC2/HJuPmwkRxje8JfW4IJ uNfY+tIFfizh4qJLezofta+nYBSZAvq9PNGfaSNyx2p2sUMg0aSYSZeZvAQMUtolyA3X 8h7yi1HDXNiAtbWYkH21XkFH1QoGtu4rBnh123jN8b0fNiuukup3xL0AZHqzGhSNxRYW Hgqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YBgRGjn+yLmFC+9fNHoHRFsXeCxEkKsHezqEmQ36bEQ=; b=xAJd761LULu4Winahp5wOzkMVZq8FyHLnorJGdi2+hb3Vm+lOq1X4sy2lJ35PLMwdl ww249jQZGqb1kbzc4KmMBLwDyL6ZuVUu93hnwmVk8LrsLhf2xiidHyV9s8ZEU3sRPeyp iQTliu77B5HgSBSib9rES8x9r7ycc4uTlKKERK3xFxhSbtvWYd6DZRC76liurVwE8Fnq /4OuBektXkeVrI/5RQeFNgKjYYOJpSUq7ejPL2kfuQt1Ty9YSH+XShDngX8QPX3Rw2Bl tBMEnGXwCdutoCiYfHNI518pypuiM6jpV9RkbXE8A9/9Bb7bl/v0MKlZwryGIs2xb6Yv CwiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=XIYp5yjt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si32021469edp.363.2021.01.04.15.46.48; Mon, 04 Jan 2021 15:47:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=XIYp5yjt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727413AbhADXp2 (ORCPT + 99 others); Mon, 4 Jan 2021 18:45:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726762AbhADXp1 (ORCPT ); Mon, 4 Jan 2021 18:45:27 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D942C061574; Mon, 4 Jan 2021 15:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=YBgRGjn+yLmFC+9fNHoHRFsXeCxEkKsHezqEmQ36bEQ=; b=XIYp5yjtmgky7iNoVOQb+o3wZr 3L/KpsgoiU4PgUF/2JfxkJRLW1hcLCYXszkagaCvEljXe9Uz+u8+jE4+N39M+0neNh8AXn+EbgqWM UAxR+Arf7ji2B/OFG3Uuzpv6oLlzE/WKH4NRTf2C5ZLJ22nsjlTWilnsqIdsGcypiK9aJg4IAg5lM 1g4r0kbHQm4M2Ktv1xQeCRGIRJ24dRRo5PufxYiZ9vMcYqdiYxSuk/oTaFj4aJIls1KwvNY3iTP+R Trby8W4LwayqM2o9OfZDsuFaS3Xmo2k+k2H9fTJbw7qxTzxk44Reo+ivVA4pG6SNp99GU0kgCtR58 KvCbKeJQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1kwWHJ-000VKI-Fy; Mon, 04 Jan 2021 20:17:08 +0000 Date: Mon, 4 Jan 2021 20:16:33 +0000 From: Matthew Wilcox To: Dan Williams Cc: Randy Dunlap , Linux Kernel Mailing List , kernel test robot , Vineet Gupta , linux-snps-arc@lists.infradead.org, Vineet Gupta , Andrew Morton , Jan Kara , linux-fsdevel , linux-nvdimm Subject: Re: [PATCH v2] fs/dax: include to fix build error on ARC Message-ID: <20210104201633.GE22407@casper.infradead.org> References: <20210101042914.5313-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 04, 2021 at 12:13:02PM -0800, Dan Williams wrote: > On Thu, Dec 31, 2020 at 8:29 PM Randy Dunlap wrote: > > +++ lnx-511-rc1/fs/dax.c > > @@ -25,6 +25,7 @@ > > #include > > #include > > #include > > +#include > > I would expect this to come from one of the linux/ includes like > linux/mm.h. asm/ headers are implementation linux/ headers are api. It does indeed come from linux/mm.h already. And a number of other random places, including linux/serial.h. Our headers are a mess, but they shouldn't be made worse by adding _this_ include. So I second Dan's objection here. > Once you drop that then the subject of this patch can just be "arc: > add a copy_user_page() implementation", and handled by the arc > maintainer (or I can take it with Vineet's ack). > > > #include > > Yes, this one should have a linux/ api header to front it, but that's > a cleanup for another day. Definitely more involved.