View Pit Stop page for race #296 by dev_manush — Ghost race
View profile for dev_manush (dev_manush)
Official speed | 57.37 wpm (55.22 seconds elapsed during race) |
---|---|
Race Start | June 21, 2023 11:52:13am UTC |
Race Finish | June 21, 2023 11:53:08am UTC |
Outcome | No win (3 of 3) |
Accuracy | 96.0% |
Points | 27.73 |
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; |