View Pit Stop page for race #12 by userzin — Ghost race
View profile for Userzin (userzin)
Official speed | 44.51 wpm (76.03 seconds elapsed during race) |
---|---|
Race Start | September 22, 2021 7:15:00pm UTC |
Race Finish | September 22, 2021 7:16:16pm UTC |
Outcome | No win (3 of 3) |
Accuracy | 94.0% |
Points | 21.51 |
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; |