[PATCH] pci: fix comment referencing renamed function
Xia, Chenbo
chenbo.xia at intel.com
Wed May 31 08:02:09 CEST 2023
> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Wednesday, May 31, 2023 12:02 AM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Gaetan Rivet <grive at u256.net>; David Marchand
> <david.marchand at redhat.com>
> Subject: [PATCH] pci: fix comment referencing renamed function
>
> When renaming functions eal_parse_pci_*,
> a referencing comment was missed in the function rte_pci_device_name().
>
> Fixes: ca52fccbb3b9 ("pci: remove deprecated functions")
> Cc: stable at dpdk.org
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> lib/pci/rte_pci.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/lib/pci/rte_pci.h b/lib/pci/rte_pci.h
> index 5088157e74..aab761b918 100644
> --- a/lib/pci/rte_pci.h
> +++ b/lib/pci/rte_pci.h
> @@ -104,8 +104,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
> --
> 2.40.1
Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
More information about the dev
mailing list