[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170206130859.GD7339@8bytes.org>
Date: Mon, 6 Feb 2017 14:08:59 +0100
From: Joerg Roedel <joro@...tes.org>
To: Eric Auger <eric.auger@...hat.com>
Cc: eric.auger.pro@...il.com, iommu@...ts.linux-foundation.org,
dan.carpenter@...cle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu: fix static checker warning in
iommu_insert_device_resv_regions
On Mon, Feb 06, 2017 at 10:11:38AM +0100, Eric Auger wrote:
> In case the device reserved region list is void, the returned value
> of iommu_insert_device_resv_regions is uninitialized. Let's return 0
> in that case.
>
> This fixes commit 6c65fb318e8b ("iommu: iommu_get_group_resv_regions").
>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Eric Auger <eric.auger@...hat.com>
Applied, thanks.
Powered by blists - more mailing lists