View Pit Stop page for race #1 by phillip_kim — Ghost race
View profile for Phillip (phillip_kim)
Official speed | 34.28 wpm (92.42 seconds elapsed during race) |
---|---|
Race Start | May 29, 2023 6:30:51am UTC |
Race Finish | May 29, 2023 6:32:23am UTC |
Outcome | No win (3 of 3) |
Accuracy | 91.0% |
Points | 16.57 |
Text | #10003 (Length: 264 characters) int res; unsigned long flags; u32 data = 0; if (PCI_##size##_BAD) return PCIBIOS_BAD_REGISTER_NUMBER; spin_lock_irqsave(&pci_lock, flags); res = bus->ops->read(bus, devfn, pos, len, &data); *value = (type)data; spin_unlock_irqrestore(&pci_lock, flags); return res; |