View Pit Stop page for race #10 by yuhang0722 — Ghost race
View profile for Yuhang (yuhang0722)
Official speed | 68.51 wpm (46.24 seconds elapsed during race) |
---|---|
Race Start | October 22, 2022 1:42:20pm UTC |
Race Finish | October 22, 2022 1:43:06pm UTC |
Outcome | No win (2 of 3) |
Accuracy | 98.0% |
Points | 33.11 |
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; |