Function name "vp_modern_remove" in comments is written to
"vp_modern_probe" incorrectly. Change it.
Signed-off-by: Dapeng Mi <[email protected]>
---
drivers/virtio/virtio_pci_modern_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_pci_modern_dev.c b/drivers/virtio/virtio_pci_modern_dev.c
index e11ed748e661..e8b3ff2b9fbc 100644
--- a/drivers/virtio/virtio_pci_modern_dev.c
+++ b/drivers/virtio/virtio_pci_modern_dev.c
@@ -345,7 +345,7 @@ int vp_modern_probe(struct virtio_pci_modern_device *mdev)
EXPORT_SYMBOL_GPL(vp_modern_probe);
/*
- * vp_modern_probe: remove and cleanup the modern virtio pci device
+ * vp_modern_remove: remove and cleanup the modern virtio pci device
* @mdev: the modern virtio-pci device
*/
void vp_modern_remove(struct virtio_pci_modern_device *mdev)
--
2.30.2
On Fri, Dec 10, 2021 at 03:35:46PM +0800, Dapeng Mi wrote:
>Function name "vp_modern_remove" in comments is written to
>"vp_modern_probe" incorrectly. Change it.
>
>Signed-off-by: Dapeng Mi <[email protected]>
>---
> drivers/virtio/virtio_pci_modern_dev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/virtio/virtio_pci_modern_dev.c b/drivers/virtio/virtio_pci_modern_dev.c
>index e11ed748e661..e8b3ff2b9fbc 100644
>--- a/drivers/virtio/virtio_pci_modern_dev.c
>+++ b/drivers/virtio/virtio_pci_modern_dev.c
>@@ -345,7 +345,7 @@ int vp_modern_probe(struct virtio_pci_modern_device *mdev)
> EXPORT_SYMBOL_GPL(vp_modern_probe);
>
> /*
>- * vp_modern_probe: remove and cleanup the modern virtio pci device
>+ * vp_modern_remove: remove and cleanup the modern virtio pci device
> * @mdev: the modern virtio-pci device
> */
> void vp_modern_remove(struct virtio_pci_modern_device *mdev)
>--
>2.30.2
>
Reviewed-by: Stefano Garzarella <[email protected]>