From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbdH1J0p (ORCPT ); Mon, 28 Aug 2017 05:26:45 -0400 Received: from 8bytes.org ([81.169.241.247]:46728 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750767AbdH1J0o (ORCPT ); Mon, 28 Aug 2017 05:26:44 -0400 Date: Mon, 28 Aug 2017 11:26:42 +0200 From: Joerg Roedel To: Yong Wu Cc: Matthias Brugger , Robin Murphy , Will Deacon , Daniel Kurtz , Tomasz Figa , Rob Herring , Catalin Marinas , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, arnd@arndb.de, honghui.zhang@mediatek.com Subject: Re: [PATCH v2 1/2] iommu/mediatek: Fix a build fail of m4u_type Message-ID: <20170828092641.mrr2qynqwxhrwhjb@8bytes.org> References: <1503560532-24416-1-git-send-email-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503560532-24416-1-git-send-email-yong.wu@mediatek.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 24, 2017 at 03:42:11PM +0800, Yong Wu wrote: > The commit ("iommu/mediatek: Enlarge the validate PA range > for 4GB mode") introduce the following build error: > > drivers/iommu/mtk_iommu.c: In function 'mtk_iommu_hw_init': > >> drivers/iommu/mtk_iommu.c:536:30: error: 'const struct mtk_iommu_data' > has no member named 'm4u_type'; did you mean 'm4u_dom'? > if (data->enable_4GB && data->m4u_type != M4U_MT8173) { > > This patch fix it, use "m4u_plat" instead of "m4u_type". > > Reported-by: kernel test robot > Signed-off-by: Yong Wu Applied both, thanks.