linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thierry.reding@gmail.com (Thierry Reding)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] iommu: of: enforce const-ness of struct iommu_ops
Date: Wed, 11 Mar 2015 09:43:49 +0100	[thread overview]
Message-ID: <20150311084347.GC19391@ulmo.nvidia.com> (raw)
In-Reply-To: <1425641688-26438-3-git-send-email-will.deacon@arm.com>

On Fri, Mar 06, 2015 at 11:34:48AM +0000, Will Deacon wrote:
> From: Robin Murphy <Robin.Murphy@arm.com>
> 
> With the pgsize_bitmap removed, there is no compelling reason for
> the remaining callbacks in struct iommu_ops to be mutable, so enforce
> const-ness throughout the core code.
> 
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> Signed-off-by: Will Deacon <will.deacon@arm.com>
> ---
>  arch/arm/include/asm/dma-mapping.h   |  2 +-
>  arch/arm/mm/dma-mapping.c            |  6 +++---
>  arch/arm64/include/asm/dma-mapping.h |  3 ++-
>  drivers/iommu/of_iommu.c             | 12 ++++++------
>  drivers/of/platform.c                |  2 +-
>  include/linux/dma-mapping.h          |  2 +-
>  include/linux/of_iommu.h             |  8 ++++----
>  7 files changed, 18 insertions(+), 17 deletions(-)

Acked-by: Thierry Reding <treding@nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150311/35ce187e/attachment.sig>

      reply	other threads:[~2015-03-11  8:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 11:34 [PATCH 0/2] Kill off pgsize_bitmap field from struct iommu_ops Will Deacon
2015-03-06 11:34 ` [PATCH 1/2] iommu: move pgsize_bitmap from struct iommu_ops to struct iommu_domain Will Deacon
2015-03-06 11:56   ` Laurent Pinchart
2015-03-06 11:59     ` Will Deacon
2015-03-06 11:57   ` Laurent Pinchart
2015-03-06 12:34     ` Will Deacon
2015-03-06 12:24   ` Marek Szyprowski
2015-03-11  8:38   ` Thierry Reding
2015-03-06 11:34 ` [PATCH 2/2] iommu: of: enforce const-ness of struct iommu_ops Will Deacon
2015-03-11  8:43   ` Thierry Reding [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150311084347.GC19391@ulmo.nvidia.com \
    --to=thierry.reding@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).