diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-09-02 23:26:31 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-09-23 22:12:36 +0200 |
commit | 8bd8d1dff9eb90255c030d2e52a4f65a7fef33a9 (patch) | |
tree | 6a4dde2dde9ca7132628d5b755487b107ca2d296 /drivers/vfio | |
parent | Linux 5.15-rc2 (diff) | |
download | linux-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/vfio')
-rw-r--r-- | drivers/vfio/pci/vfio_pci_core.c | 2 |
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; |