Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1574663
| From | Joerg Roedel <joro@8bytes.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iommu: fix static checker warning in iommu_insert_device_resv_regions |
| Date | 2017-02-06 14:10 +0100 |
| Message-ID | <t7Rdn-5m6-7@gated-at.bofh.it> (permalink) |
| References | <t7NCO-33M-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@oracle.com>
> Signed-off-by: Eric Auger <eric.auger@redhat.com>
Applied, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] iommu: fix static checker warning in iommu_insert_device_resv_regions Eric Auger <eric.auger@redhat.com> - 2017-02-06 10:20 +0100 Re: [PATCH] iommu: fix static checker warning in iommu_insert_device_resv_regions Joerg Roedel <joro@8bytes.org> - 2017-02-06 14:10 +0100
csiph-web