View Pit Stop page for race #3 by code_vansh — Ghost race
View profile for Devansh Karia (code_vansh)
Official speed | 30.78 wpm (102.92 seconds elapsed during race) |
---|---|
Race Start | June 10, 2023 7:11:50pm UTC |
Race Finish | June 10, 2023 7:13:33pm UTC |
Outcome | Win (1 of 3) |
Accuracy | 91.0% |
Points | 14.88 |
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; |