diff options
author | Bert Kenward <bkenward@solarflare.com> | 2018-07-26 16:21:29 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-08-14 16:04:46 -0500 |
commit | 6eaf2781137842429c447bb491402b231df8a0f1 (patch) | |
tree | 7028e521afae6241b3a1fc33d0ba2d5988357a5d /include | |
parent | b72ae8cac0caff86fe414fceb940655c2d1371c9 (diff) | |
download | linux-6eaf2781137842429c447bb491402b231df8a0f1.tar.gz linux-6eaf2781137842429c447bb491402b231df8a0f1.tar.bz2 linux-6eaf2781137842429c447bb491402b231df8a0f1.zip |
PCI/VPD: Check for VPD access completion before checking for timeout
Previously we checked the timeout before checking the VPD access completion
bit. On a very heavily loaded system this can cause VPD access to timeout.
Check the completion bit before checking the timeout.
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions