Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751559AbdH3NS4 (ORCPT ); Wed, 30 Aug 2017 09:18:56 -0400 Received: from 8bytes.org ([81.169.241.247]:42062 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbdH3NSz (ORCPT ); Wed, 30 Aug 2017 09:18:55 -0400 Date: Wed, 30 Aug 2017 15:18:52 +0200 From: Joerg Roedel To: Arvind Yadav Cc: m.szyprowski@samsung.com, kgene@kernel.org, krzk@kernel.org, matthias.bgg@gmail.com, gerald.schaefer@de.ibm.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 2/3] iommu: mtk: constify iommu_ops Message-ID: <20170830131852.lpkixnpt2ei4lpka@8bytes.org> References: <1503922346-25947-1-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503922346-25947-1-git-send-email-arvind.yadav.cs@gmail.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 Content-Length: 731 Lines: 23 On Mon, Aug 28, 2017 at 05:42:26PM +0530, Arvind Yadav wrote: > iommu_ops are not supposed to change at runtime. > Functions 'iommu_device_set_ops' and 'bus_set_iommu' working with > const iommu_ops provided by . So mark the non-const > structs as const. > > Signed-off-by: Arvind Yadav > --- > drivers/iommu/mtk_iommu.c | 4 ++-- > drivers/iommu/mtk_iommu_v1.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) This doesn't apply cleanly to the arm/mediatek branch in the iommu-tree. Please rebase it against that branch and update the subject to: iommu/mediatek: Constify iommu_ops to match the convention used in the iommu-tree and send it again. Thanks, Joerg