summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-09-02 23:26:31 +0200
committerAlex Williamson <alex.williamson@redhat.com>2021-09-23 22:12:36 +0200
commit8bd8d1dff9eb90255c030d2e52a4f65a7fef33a9 (patch)
tree6a4dde2dde9ca7132628d5b755487b107ca2d296 /drivers
parentLinux 5.15-rc2 (diff)
downloadlinux-8bd8d1dff9eb90255c030d2e52a4f65a7fef33a9.tar.xz
linux-8bd8d1dff9eb90255c030d2e52a4f65a7fef33a9.zip
vfio/pci: add missing identifier name in argument of function prototype
The function prototype is missing an identifier name. Add one. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20210902212631.54260-1-colin.king@canonical.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vfio/pci/vfio_pci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c
index 68198e0f2a63..a03b5a99c2da 100644
--- a/drivers/vfio/pci/vfio_pci_core.c
+++ b/drivers/vfio/pci/vfio_pci_core.c
@@ -565,7 +565,7 @@ static bool vfio_pci_dev_below_slot(struct pci_dev *pdev, struct pci_slot *slot)
}
struct vfio_pci_walk_info {
- int (*fn)(struct pci_dev *, void *data);
+ int (*fn)(struct pci_dev *pdev, void *data);
void *data;
struct pci_dev *pdev;
bool slot;