Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2719566imm; Fri, 20 Jul 2018 03:50:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfAB/3kP7ic6nRLsal3Acxyfn9I4byumMGSHdohz7xujh4pCp4u/ozSJUVWRfM9wNIiX5ch X-Received: by 2002:a63:2013:: with SMTP id g19-v6mr1607054pgg.68.1532083811863; Fri, 20 Jul 2018 03:50:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532083811; cv=none; d=google.com; s=arc-20160816; b=mohGSRGT9sLr1QsnJsVIyCl9h2zprz4g8b88MrEhTtkFLurVGm8zNzPTpN+trRk/XX LNxujSCeWUtdPvJVOxgm4iqtzbnYMfhBSExshrA6YpS0OopT82LZVa6A77ZubkxRo/Uj m+oz8M6XhvAer4QectBwnCwXLgxcqwKdx4FTXsQ3hr5hD6OwWcIFskJp+hAQs9BK1Fa5 WLmEwrv8odkvRUqdJXOTdNjozuVU+SAKR/7gBm5MucWwMmHzLuec0+wdu4PiHU1BYceD 0+PZmiIfNej0vSIWS1zUIl2fYUBqpPNMi02gUXuIhGvMebKByXkmC70Tcg6kGvEW/avV wTeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=mN76vGZd8KNEysRNfcJD1K0LiX2RcH31sXTt/BtKYv4=; b=KmfUnmc0wPTUriORO/Il4n/+r/xNmGHPFUFTTXh+z7qJUQdb3CbQWrp5bZUh9Jd8VN pvmIMUdoYesSELrr2exwhJ3vRvyzkBIMI4MR5CSqzVDLC63d3Aq5FHZTVQeqxM8wZ2Lq o7CQipKHFyR9RV0UmiLKzg3ztiBglgC+02/f0yCZuWTz1YTEDZ/FpzoRBb5/I0eefmby WwCEFR4rOhKpm1+slzj6wriPun4Qd3xjYDklqbymKjhc12E99HxW7lwML345C2i+OLfr SDEgFEBUDYLe3DLNuuPAA0ytGRqyxRcj0laFw5xfj3i3C+VVN2e3Mfo2/Sb6ZNtvTRf1 w9IQ== 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 d11-v6si1591919pgm.556.2018.07.20.03.49.57; Fri, 20 Jul 2018 03:50:11 -0700 (PDT) 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 S1728291AbeGTLg6 (ORCPT + 99 others); Fri, 20 Jul 2018 07:36:58 -0400 Received: from mail.bootlin.com ([62.4.15.54]:42517 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727755AbeGTLg6 (ORCPT ); Fri, 20 Jul 2018 07:36:58 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 87E3820730; Fri, 20 Jul 2018 12:49:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from windsurf (unknown [80.255.6.130]) by mail.bootlin.com (Postfix) with ESMTPSA id F2C1920717; Fri, 20 Jul 2018 12:49:15 +0200 (CEST) Date: Fri, 20 Jul 2018 12:49:15 +0200 From: Thomas Petazzoni To: Lorenzo Pieralisi Cc: Stephen Rothwell , Bjorn Helgaas , Linux-Next Mailing List , Linux Kernel Mailing List , Sergei Shtylyov , Evan Wang Subject: Re: linux-next: manual merge of the pci tree with Linus' tree Message-ID: <20180720124915.47ead719@windsurf> In-Reply-To: <20180720091553.GA23214@red-moon> References: <20180720110310.6d07e86e@canb.auug.org.au> <20180720091553.GA23214@red-moon> Organization: Bootlin (formerly Free Electrons) X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Fri, 20 Jul 2018 10:15:53 +0100, Lorenzo Pieralisi wrote: > > switch (resource_type(res)) { > > case IORESOURCE_IO: > > - advk_pcie_set_ob_win(pcie, 1, > > - upper_32_bits(res->start), > > - lower_32_bits(res->start), > > - 0, 0xF8000000, 0, > > - lower_32_bits(res->start), > > - OB_PCIE_IO); > > - err = pci_remap_iospace(res, iobase); > > + err = devm_pci_remap_iospace(dev, res, iobase); > > if (err) { > > dev_warn(dev, "error %d: failed to map resource %pR\n", > > err, res); > > Hi Stephen, > > thanks for fixing this up, the fix looks fine to me (Thomas please > confirm), if it is I would ask Bjorn please to send it upstream when the > time for the PCI pull request comes. I confirm that the fix looks good to me. Thanks Stephen for fixing it up. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com