[PATCH] iommu/sun50i: Fix set-but-not-used variable warning

Maxime Ripard maxime at cerno.tech
Mon Sep 7 11:06:18 EDT 2020


On Fri, Sep 04, 2020 at 01:39:06PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel at suse.de>
> 
> Fix the following warning the the SUN50I driver:
> 
>    drivers/iommu/sun50i-iommu.c: In function 'sun50i_iommu_irq':
>    drivers/iommu/sun50i-iommu.c:890:14: warning: variable 'iova' set but not used [-Wunused-but-set-variable]
>      890 |  phys_addr_t iova;
>          |              ^~~~
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Joerg Roedel <jroedel at suse.de>

Acked-by: Maxime Ripard <mripard at kernel.org>

Thanks!
Maxime



More information about the linux-arm-kernel mailing list