s390: vfio-ap: fix warning reset not completed
authorHalil Pasic <pasic@linux.ibm.com>
Tue, 3 Sep 2019 13:36:18 +0000 (15:36 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 5 Sep 2019 13:18:15 +0000 (15:18 +0200)
commit024cdcdbf3cf9904465a7d5256d8594defa2758b
tree5a4ffacd1661d52cb8e578711efdab01d959ea84
parent512222789ce8aba54295854c4641aa6f680c1897
s390: vfio-ap: fix warning reset not completed

The intention seems to be to warn once when we don't wait enough for the
reset to complete. Let's use the right retry counter to accomplish that
semantic.

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Link: https://lore.kernel.org/r/20190903133618.9122-1-pasic@linux.ibm.com
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/vfio_ap_ops.c