Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Leon Romanovsky and committed by
Alex Williamson
8d26c432 f8a665b1

+2 -2
+2 -2
drivers/pci/iov.c
··· 49 49 50 50 /** 51 51 * pci_iov_get_pf_drvdata - Return the drvdata of a PF 52 - * @dev - VF pci_dev 53 - * @pf_driver - Device driver required to own the PF 52 + * @dev: VF pci_dev 53 + * @pf_driver: Device driver required to own the PF 54 54 * 55 55 * This must be called from a context that ensures that a VF driver is attached. 56 56 * The value returned is invalid once the VF driver completes its remove()