diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-09-02 22:26:31 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-09-23 14:12:36 -0600 |
commit | 8bd8d1dff9eb90255c030d2e52a4f65a7fef33a9 (patch) | |
tree | 6a4dde2dde9ca7132628d5b755487b107ca2d296 | |
parent | e4e737bb5c170df6135a127739a9e6148ee3da82 (diff) | |
download | lwn-8bd8d1dff9eb90255c030d2e52a4f65a7fef33a9.tar.gz lwn-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>
-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; |