diff options
author | Manivannan Sadhasivam <[email protected]> | 2023-06-02 17:17:49 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-06-23 15:05:03 -0500 |
commit | 081c715dfd50542e89df5ee12a8e32e7ed936cd1 (patch) | |
tree | 66b17525b114e4f816211237878852a39ff70212 /lib/test_fortify/write_overflow-strscpy.c | |
parent | ff2f19d6f1fcb6128950263c3ea46ff1aefec54f (diff) |
PCI: endpoint: Pass EPF device ID to the probe function
Currently, the EPF probe function doesn't get the device ID argument needed
to correctly identify the device table ID of the EPF device.
When multiple entries are added to the "struct pci_epf_device_id" table,
the probe function needs to identify the correct one. This is achieved by
modifying the pci_epf_match_id() function to return the match ID pointer
and passing it to the driver's probe function.
pci_epf_device_match() function can return bool based on the return value
of pci_epf_match_id().
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Kishon Vijay Abraham I <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions