OpenCloudOS-Kernel/drivers/vfio/platform/reset
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
..
Kconfig VFIO: platform: reset: AMD xgbe reset module 2015-11-03 12:55:21 -07:00
Makefile VFIO: platform: reset: AMD xgbe reset module 2015-11-03 12:55:21 -07:00
vfio_platform_amdxgbe.c VFIO: platform: reset: fix a warning message condition 2015-12-21 15:28:11 -07:00
vfio_platform_calxedaxgmac.c vfio: platform: reset: calxedaxgmac: fix ioaddr leak 2015-11-03 12:55:06 -07:00