mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
749aaf3372
pci_epf_test_raise_irq() reads the interrupt to use for the response from
reg->command, but this has been cleared at the beginning of the command
handler so the value is always zero at this point.
Instead, extract the interrupt index before handling the command and then
pass the requested interrupt into pci_epf_test_raise_irq(). This allows us
to remove the specific code to extract the interrupt for
COMMAND_RAISE_MSI_IRQ since it is now handled in common code.
Fixes:
|
||
---|---|---|
.. | ||
functions | ||
Kconfig | ||
Makefile | ||
pci-ep-cfs.c | ||
pci-epc-core.c | ||
pci-epc-mem.c | ||
pci-epf-core.c |