View Pit Stop page for race #9 by hack89 — Ghost race
View profile for hack89 (hack89)
Official speed | 34.02 wpm (99.47 seconds elapsed during race) |
---|---|
Race Start | January 6, 2022 1:25:09am UTC |
Race Finish | January 6, 2022 1:26:48am UTC |
Outcome | Win (1 of 3) |
Accuracy | 94.0% |
Points | 16.44 |
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; |