Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3006683imu; Fri, 23 Nov 2018 19:12:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/WcnMpEoFISNpqrpqdKP6kGrTabuEXG0nIpaP99WuOciycqapfPr968ikcq7qobZYPDxJA1 X-Received: by 2002:a63:91c1:: with SMTP id l184mr16571479pge.29.1543029162823; Fri, 23 Nov 2018 19:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543029162; cv=none; d=google.com; s=arc-20160816; b=s9E53rHIg6EsDPyjTVoZ8QRI6G6oS8UO/7HGldDIGKcBnXTmZhHBzIEwZyCxUh+2EA 4CaKGHx4tYEpOJFvhoR6EDJK1K/lmx1cNw0Bpc8Zy+v1HbUQuPyAT2kgZ4evjbYHN+uQ ZMN0suI1aVgGkPotPmRkOU38XkCLWkxcUDQYLbPkYZZsc6Bkkw79ni41sd2f+pm50FNa lfwv/IFeCJ/6TMrsssO8PymiuapNB4xybosycGbiwL2IaeNyRSkXNNylY8TTIuAGUAq+ MCuFgvKite0hG3Ar2f2wFx3O64+ctD6fZM888ZOGe+pc/ZhcOt42P+4CHXhzE0iNBvOM MDNg== 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=u9L/fXjSwTVB2eKxIeMssVx3bAoOxdH1m/ggnO8ZER8=; b=G5hqgkLJ5MDHMA9gW9hr26Z2umVlliPWxW67lw5NGoHF0XhSNCAnBdZEtFdGPK61ZX kAgMiu3XqFVEpPhE4YE8Bb/rYVrxXwa6oldw2IRlzd8wWTyDlqVA64AGH4QUfNWLaG44 fnUrNvxnMPSudZsO+TeV73D0wl0OxwOWyS1O5gqoatEtK1WpmjPzf9VYk3squYlV6lBC V0T/d778V71KozOPsjMvGUEdSb0ZzRGGmTGobII+Bs0kok3EIYnJtSuhQ61JoLICk0Ub b5lJcuPuJo5x8O4rb/TPySg5Ag8UgLq+RLKsn0u7WF3Xq/6OjogQmbmRb9UDmNDoC/9s Xiag== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z20si31324867pgv.159.2018.11.23.19.12.24; Fri, 23 Nov 2018 19:12:42 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438063AbeKWCnV (ORCPT + 99 others); Thu, 22 Nov 2018 21:43:21 -0500 Received: from 8bytes.org ([81.169.241.247]:48990 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732369AbeKWCnV (ORCPT ); Thu, 22 Nov 2018 21:43:21 -0500 Received: by theia.8bytes.org (Postfix, from userid 1000) id 6D887435; Thu, 22 Nov 2018 17:03:22 +0100 (CET) Date: Thu, 22 Nov 2018 17:03:18 +0100 From: Joerg Roedel To: Pan Bian Cc: David Woodhouse , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu: use memunmap to free memremap Message-ID: <20181122160318.gmncgapsrwcwy6hy@8bytes.org> References: <1542794027-93141-1-git-send-email-bianpan2016@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1542794027-93141-1-git-send-email-bianpan2016@163.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 21, 2018 at 05:53:47PM +0800, Pan Bian wrote: > memunmap() should be used to free the return of memremap(), not > iounmap(). > > Fixes: dfddb969edf0("iommu/vt-d: Switch from ioremap_cache to memremap") > Signed-off-by: Pan Bian > --- > drivers/iommu/intel-iommu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.