linux-stable/drivers/vfio
Dan Carpenter 967628827f VFIO: platform: reset: fix a warning message condition
This loop ends with count set to -1 and not zero so the warning message
isn't printed when it should be.  I've fixed this by change the postop
to a preop.

Fixes: 0990822c98 ('VFIO: platform: reset: AMD xgbe reset module')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-12-21 15:28:11 -07:00
..
pci Revert: "vfio: Include No-IOMMU mode" 2015-12-04 08:38:42 -07:00
platform VFIO: platform: reset: fix a warning message condition 2015-12-21 15:28:11 -07:00
Kconfig Revert: "vfio: Include No-IOMMU mode" 2015-12-04 08:38:42 -07:00
Makefile vfio: Split virqfd into a separate module for vfio bus drivers 2015-03-17 08:33:38 -06:00
vfio.c Revert: "vfio: Include No-IOMMU mode" 2015-12-04 08:38:42 -07:00
vfio_iommu_spapr_tce.c vfio: powerpc/spapr: Support Dynamic DMA windows 2015-06-11 15:16:55 +10:00
vfio_iommu_type1.c vfio/type1: handle case where IOMMU does not support PAGE_SIZE size 2015-11-03 12:53:53 -07:00
vfio_spapr_eeh.c drivers/vfio: Support EEH error injection 2015-05-12 20:33:35 +10:00
virqfd.c vfio: Split virqfd into a separate module for vfio bus drivers 2015-03-17 08:33:38 -06:00