Skip to content

Commit

Permalink
pci: fix comment referencing renamed function
Browse files Browse the repository at this point in the history
[ upstream commit 61f551995030e2d114ccbcaa8a63c8cc052d21b5 ]

When renaming functions eal_parse_pci_*,
a referencing comment was missed in the function rte_pci_device_name().

Fixes: ca52fcc ("pci: remove deprecated functions")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
  • Loading branch information
tmonjalo authored and kevintraynor committed Jul 11, 2023
1 parent e506470 commit e248dac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/pci/rte_pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ struct rte_pci_addr {

/**
* Utility function to write a pci device name, this device name can later be
* used to retrieve the corresponding rte_pci_addr using eal_parse_pci_*
* BDF helpers.
* used to retrieve the corresponding rte_pci_addr using rte_pci_addr_parse().
*
* @param addr
* The PCI Bus-Device-Function address
Expand Down

0 comments on commit e248dac

Please sign in to comment.