Record your races with a typeracer account:
Create Your Account- Save your race history and scores.
- Customize your profile and racecar.
- It’s free, why not?
Race Result Details |
Racer | diamondreflect (diamondreflect) |
Race Number | 765 |
Date | Thu, 11 Jul 2024 02:50:07 +0000 |
Universe | code |
Speed |
43 WPM
![]() |
Accuracy | 94.4% |
Rank | 3rd place (out of 3) |
Text typed:
|
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;
— Linux Kernel (access.c)
|