lkml.org 
[lkml]   [2020]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] iommu/sun50i: Fix set-but-not-used variable warning
On Fri, Sep 04, 2020 at 01:39:06PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@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@intel.com>
> Signed-off-by: Joerg Roedel <jroedel@suse.de>

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

Thanks!
Maxime

\
 
 \ /
  Last update: 2020-09-07 17:17    [W:0.050 / U:2.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site