Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751844AbdF1MSB (ORCPT ); Wed, 28 Jun 2017 08:18:01 -0400 Received: from 8bytes.org ([81.169.241.247]:48586 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751775AbdF1MRy (ORCPT ); Wed, 28 Jun 2017 08:17:54 -0400 Date: Wed, 28 Jun 2017 14:17:46 +0200 From: Joerg Roedel To: Arvind Yadav Cc: dwmw2@infradead.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH v2] iommu/vt-d: constify intel_dma_ops Message-ID: <20170628121745.GA27918@8bytes.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 407 Lines: 13 On Wed, Jun 28, 2017 at 04:39:32PM +0530, Arvind Yadav wrote: > Most dma_map_ops structures are never modified. Constify these > structures such that these can be write-protected. > > Signed-off-by: Arvind Yadav > --- > Changes in v2: > Added description. > > drivers/iommu/intel-iommu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.