commit | daac3bbedb8aba714a082d00e2292d462fa24397 | [log] [tgz] |
---|---|---|
author | Eric Auger <eric.auger@linaro.org> | Tue Nov 03 18:12:19 2015 +0000 |
committer | Alex Williamson <alex.williamson@redhat.com> | Tue Nov 03 12:55:06 2015 -0700 |
tree | 575d31068914ecc0a7665576ca0949a0ce68b6ce | |
parent | 705e60bae3e09bedba0b2ec936bce3f799f46426 [diff] |
vfio: platform: reset: calxedaxgmac: fix ioaddr leak In the current code the vfio_platform_region is copied on the stack. As a consequence the ioaddr address is not iounmapped in the vfio platform driver (vfio_platform_regions_cleanup). The patch uses the pointer to the region instead. Signed-off-by: Eric Auger <eric.auger@linaro.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>