diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2022-03-07 13:33:25 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-03-07 12:06:10 -0700 |
commit | 8d26c4328b468e449df21314ef993eeaefc0306f (patch) | |
tree | ae46cef26a654685862db48895f083ecc8c4e202 /drivers | |
parent | f8a665b1594799fb25fa9cd6a623469707c69c16 (diff) | |
download | linux-stable-8d26c4328b468e449df21314ef993eeaefc0306f.tar.gz linux-stable-8d26c4328b468e449df21314ef993eeaefc0306f.tar.bz2 linux-stable-8d26c4328b468e449df21314ef993eeaefc0306f.zip |
PCI/IOV: Fix wrong kernel-doc identifier
Replace "-" to be ":" in comment section to be aligned with
kernel-doc format.
drivers/pci/iov.c:67: warning: Function parameter or member 'dev' not described in 'pci_iov_get_pf_drvdata'
drivers/pci/iov.c:67: warning: Function parameter or member 'pf_driver' not described in 'pci_iov_get_pf_drvdata'
Fixes: a7e9f240c0da ("PCI/IOV: Add pci_iov_get_pf_drvdata() to allow VF reaching the drvdata of a PF")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/8cecf7df45948a256dc56148cf9e87b2f2bb4198.1646652504.git.leonro@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/iov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 28ec952e1221..952217572113 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -49,8 +49,8 @@ EXPORT_SYMBOL_GPL(pci_iov_vf_id); /** * pci_iov_get_pf_drvdata - Return the drvdata of a PF - * @dev - VF pci_dev - * @pf_driver - Device driver required to own the PF + * @dev: VF pci_dev + * @pf_driver: Device driver required to own the PF * * This must be called from a context that ensures that a VF driver is attached. * The value returned is invalid once the VF driver completes its remove() |