Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4043812pxk; Tue, 8 Sep 2020 09:13:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjzIq1PXqFAH0dMjPopQpAGXfZkTTX17rcsvQOMk7XZ4m0n8VI7UYRoIRCrvzeur4Pe2Sr X-Received: by 2002:a05:6402:1d05:: with SMTP id dg5mr27056985edb.67.1599581630851; Tue, 08 Sep 2020 09:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599581630; cv=none; d=google.com; s=arc-20160816; b=jIJmhIGmPdmIzX3zmhLRSESzt7/w4IZSsty0UvSJDNBe6PC3wlBP2mcbibXB6rItzu 6nsTi0TTdDaK4PR95s0yGSWXi3dh/iyFM2bPOVQUT1TEX1B63ma35aXibAmJSSP2/Ff7 aHnmk5xcwRNkPaPiAcYPI6jFF7DqiGDMVF9R01Dnh3C5S/H5Fq5Z/rhv4XAqFPd1oeyV pC/3AkBsBamJFEexu+RTzOVQRMZmb4qr01CSlx4Ee5Y9mDNFEKUDSvSc8fOJKMpmzZ77 ZE8X4HcRHKvINydXCPtv+UefXlgFZtmQAtE2+lgz8ptQffChhgWwKststiEMUg6Tbvjd d7Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Sn9YyaxDlmem+Af35OWOD/fQH327GLoTO2uCzA73Adk=; b=r3HvVLP7s9YCcq9J1SclI0pncWnZrSAWx3qkpgOcsE0+6COlTQaImuuyP+xDuJ7Oaa jgzG75+W6FVPuJ3NlmnqRIVdS95oDxRe3ha/HZ5z4VbOYEvS+Wm7jkyGBIvR5D8HXyJH TSdQDaXjDXwHA0S1XbUtLcYYojjpJoJNcNT1PlGUZ+MMuDPeB2Rcv7hU3Y2I/6gr4Qlu U5kffMii8u/WQYSUZ1bV4t6RKS4S8urffFIAJJdIj/prPI7bJJrQARLQSINiOBMySHy4 DdvPAYektm1+mugnsYbI/0OdhbcmC3g5oMOwyWEDfHmDdKp4CFEgR9R6iVvIwd1QJd9M s//g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bGwjW1BP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gv22si12264485ejb.536.2020.09.08.09.13.28; Tue, 08 Sep 2020 09:13:50 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=bGwjW1BP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731530AbgIHQMJ (ORCPT + 99 others); Tue, 8 Sep 2020 12:12:09 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:56936 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731204AbgIHQFE (ORCPT ); Tue, 8 Sep 2020 12:05:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599581103; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Sn9YyaxDlmem+Af35OWOD/fQH327GLoTO2uCzA73Adk=; b=bGwjW1BPPiw5JflD5MjOQHFFObFNKDLmoJebD10Sy99PzoSyE9SOxLIosl1yFSBMmIeQkj 6PU2HcB4Adon+SG1E9/oZ+VlyF/klApjWztQEtitzp9g1reSeFSk9HXxxinOc8sKUFTQ7q n3dOZFx0AaSEtssKDRPe7cGrF5bPLm0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-342-Ic_nwVryMe-TVrW6fRwG2Q-1; Tue, 08 Sep 2020 09:50:56 -0400 X-MC-Unique: Ic_nwVryMe-TVrW6fRwG2Q-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0B221801AE0; Tue, 8 Sep 2020 13:50:55 +0000 (UTC) Received: from horse.redhat.com (ovpn-116-76.rdu2.redhat.com [10.10.116.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id EC1C319728; Tue, 8 Sep 2020 13:50:51 +0000 (UTC) Received: by horse.redhat.com (Postfix, from userid 10451) id 1F095223B13; Tue, 8 Sep 2020 09:50:51 -0400 (EDT) Date: Tue, 8 Sep 2020 09:50:51 -0400 From: Vivek Goyal To: Stephen Rothwell Cc: Andrew Morton , Miklos Szeredi , Dan Williams , Juergen Gross , Roger Pau Monne , Stefan Hajnoczi , "Dr. David Alan Gilbert" , Sebastien Boeuf , Liu Bo , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build failure after merge of the akpm-current tree Message-ID: <20200908135051.GC69769@redhat.com> References: <20200908200950.1368e71b@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200908200950.1368e71b@canb.auug.org.au> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 08, 2020 at 08:09:50PM +1000, Stephen Rothwell wrote: [..] > fs/fuse/virtio_fs.c: In function 'virtio_fs_setup_dax': > fs/fuse/virtio_fs.c:838:9: error: 'struct dev_pagemap' has no member named 'res'; did you mean 'ref'? > 838 | pgmap->res = (struct resource){ > | ^~~ > | ref > > Caused by commit > > b3e022c5a68c ("mm/memremap_pages: convert to 'struct range'") > > interacting with commit > > 9e2369c06c8a ("xen: add helpers to allocate unpopulated memory") > > from Linus' tree (in v5.9-rc4) and commit > > 7e833303db20 ("virtiofs: set up virtio_fs dax_device") > > from the fuse tree. > > I have added the following patch which may require more work but at > least makes it all build. > > From: Stephen Rothwell > Date: Tue, 8 Sep 2020 20:00:20 +1000 > Subject: [PATCH] merge fix up for "mm/memremap_pages: convert to 'struct > range'" > > Signed-off-by: Stephen Rothwell > --- > drivers/xen/unpopulated-alloc.c | 15 +++++++++------ > fs/fuse/virtio_fs.c | 3 +-- > 2 files changed, 10 insertions(+), 8 deletions(-) > [..] > diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c > index da3ede268604..8f27478497fa 100644 > --- a/fs/fuse/virtio_fs.c > +++ b/fs/fuse/virtio_fs.c > @@ -835,8 +835,7 @@ static int virtio_fs_setup_dax(struct virtio_device *vdev, struct virtio_fs *fs) > * initialize a struct resource from scratch (only the start > * and end fields will be used). > */ > - pgmap->res = (struct resource){ > - .name = "virtio-fs dax window", > + pgmap->range = (struct range){ > .start = (phys_addr_t) cache_reg.addr, > .end = (phys_addr_t) cache_reg.addr + cache_reg.len - 1, > }; Thanks Stephen. This change looks good to me for virtiofs. Thanks Vivek