View Pit Stop page for race #6 by stoofstoofstoof — Ghost race
View profile for Stefan (stoofstoofstoof)
Official speed | 48.94 wpm (64.73 seconds elapsed during race) |
---|---|
Race Start | July 10, 2023 5:19:23pm UTC |
Race Finish | July 10, 2023 5:20:28pm UTC |
Outcome | No win (3 of 3) |
Accuracy | 92.0% |
Points | 23.65 |
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; |