[PATCH] iommu/io-pgtable-arm: Use for_each_set_bit to simplify code

Joerg Roedel joro at 8bytes.org
Thu May 3 06:31:45 PDT 2018


On Thu, Apr 26, 2018 at 12:49:29PM +0800, YueHaibing wrote:
> We can use for_each_set_bit() to simplify code slightly in the
> ARM io-pgtable self tests while unmapping.
> 
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> ---
>  drivers/iommu/io-pgtable-arm-v7s.c | 5 +----
>  drivers/iommu/io-pgtable-arm.c     | 5 +----
>  2 files changed, 2 insertions(+), 8 deletions(-)

Applied, thanks.



More information about the linux-arm-kernel mailing list