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 | L (forcherie3) |
Race Number | 1 |
Date | Sun, 25 Jun 2023 14:52:07 +0000 |
Universe | code |
Speed |
50 WPM
![]() |
Accuracy | 94.5% |
Rank | 1st place (out of 1) |
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)
|