aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorNiklas Cassel <[email protected]>2017-12-14 13:01:45 +0000
committerLorenzo Pieralisi <[email protected]>2017-12-19 11:05:44 +0000
commit0c47cd7a9b6c9c36c08113e594e9ad017fb17865 (patch)
treecc2ea9f57c307359afbff21f465cbd36b9740b6e /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentPCI: designware-ep: Fix find_first_zero_bit() usage (diff)
downloadkernel-0c47cd7a9b6c9c36c08113e594e9ad017fb17865.tar.gz
kernel-0c47cd7a9b6c9c36c08113e594e9ad017fb17865.zip
PCI: endpoint: Populate func_no before calling pci_epc_add_epf()
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: d74679911610 ("PCI: endpoint: Introduce configfs entry for configuring EP functions") Signed-off-by: Niklas Cassel <[email protected]> [[email protected]: rewrote the commit log] Signed-off-by: Lorenzo Pieralisi <[email protected]> Suggested-by: Kishon Vijay Abraham I <[email protected]> Acked-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions