Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1512356

Re: [PATCH 08/15] powerpc/iommu: use permission-specific DEVICE_ATTR variants

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH 08/15] powerpc/iommu: use permission-specific DEVICE_ATTR variants
Date 2016-10-31 07:10 +0100
Message-ID <sydXc-6Z3-21@gated-at.bofh.it> (permalink)
References <sxHXj-2qm-3@gated-at.bofh.it> <sxHXj-2qm-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Julia Lawall <Julia.Lawall@lip6.fr> writes:

> diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c
> index 5f202a5..32f18b5 100644
> --- a/arch/powerpc/kernel/iommu.c
> +++ b/arch/powerpc/kernel/iommu.c
> @@ -127,8 +127,7 @@ static ssize_t fail_iommu_store(struct device *dev,
>  	return count;
>  }
>  
> -static DEVICE_ATTR(fail_iommu, S_IRUGO|S_IWUSR, fail_iommu_show,
> -		   fail_iommu_store);
> +static DEVICE_ATTR_RW(fail_iommu);

Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)


cheers

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 08/15] powerpc/iommu: use permission-specific DEVICE_ATTR variants Julia Lawall <Julia.Lawall@lip6.fr> - 2016-10-29 22:00 +0200
  Re: [PATCH 08/15] powerpc/iommu: use permission-specific DEVICE_ATTR variants Michael Ellerman <mpe@ellerman.id.au> - 2016-10-31 07:10 +0100

csiph-web