View Pit Stop page for race #1 by nulldev — Ghost race
View profile for Nulldev (nulldev)
Official speed | 44.62 wpm (71.00 seconds elapsed during race) |
---|---|
Race Start | April 7, 2017 6:48:38am UTC |
Race Finish | April 7, 2017 6:49:49am UTC |
Outcome | Win (1 of 3) |
Accuracy | 94.0% |
Points | 0.00 |
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; |