mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
0c47cd7a9b
func_no is a member of struct pci_epf.
Since struct pci_epf is used as an argument to pci_epc_add_epf() (to
bind an endpoint function to a controller), struct pci_epf.func_no
should be populated before calling pci_epc_add_epf().
Initialize the struct pci_epf.func_no member before calling
pci_epc_add_epf(), to fix the endpoint function binding to
an endpoint controller.
Fixes:
|
||
---|---|---|
.. | ||
functions | ||
Kconfig | ||
Makefile | ||
pci-ep-cfs.c | ||
pci-epc-core.c | ||
pci-epc-mem.c | ||
pci-epf-core.c |