diff options
author | Heiner Kallweit <[email protected]> | 2021-05-13 22:56:41 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-08-09 13:43:50 -0500 |
commit | 91ab5d9d02a97264368eb1d72efdba2ec18cc0d4 (patch) | |
tree | c3e2c643bcdf6585d4da34b2541380822ce6f91e /lib/mpi/mpi-inline.h | |
parent | 1285762c07121b449cd60166b813c0084b792736 (diff) |
PCI/VPD: Make pci_vpd_wait() uninterruptible
Reading/writing 4 bytes should be fast enough even on a slow bus, therefore
pci_vpd_wait() doesn't have to be interruptible. Making it uninterruptible
allows to simplify the code.
In addition make VPD writes uninterruptible in general. It's about vital
data, and allowing writes to be interruptible may leave the VPD in an
inconsistent state.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions