From: Colin Ian King Date: Thu, 2 Sep 2021 21:26:31 +0000 (+0100) Subject: vfio/pci: add missing identifier name in argument of function prototype X-Git-Tag: v5.15-rc4~29^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bd8d1dff9eb90255c030d2e52a4f65a7fef33a9;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Jason Gunthorpe Link: https://lore.kernel.org/r/20210902212631.54260-1-colin.king@canonical.com Signed-off-by: Alex Williamson --- diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c index 68198e0f2a631..a03b5a99c2dac 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;