summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_pci_modern_dev.c
diff options
context:
space:
mode:
authorDapeng Mi <dapeng1.mi@intel.com>2021-12-10 15:35:46 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-01-14 18:50:53 -0500
commit2b68224ec61bb66aa2a24ad099b6af65138fa888 (patch)
tree3c36136be93ce2f4779c78e6b7b88b205acf05e6 /drivers/virtio/virtio_pci_modern_dev.c
parent6017599bb25c20b7a68cbb8e7d534bdc1c36b5e4 (diff)
downloadlinux-2b68224ec61bb66aa2a24ad099b6af65138fa888.tar.gz
linux-2b68224ec61bb66aa2a24ad099b6af65138fa888.tar.bz2
linux-2b68224ec61bb66aa2a24ad099b6af65138fa888.zip
virtio: fix a typo in function "vp_modern_remove" comments.
Function name "vp_modern_remove" in comments is written to "vp_modern_probe" incorrectly. Change it. Signed-off-by: Dapeng Mi <dapeng1.mi@intel.com> Link: https://lore.kernel.org/r/20211210073546.700783-1-dapeng1.mi@intel.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_modern_dev.c')
-rw-r--r--drivers/virtio/virtio_pci_modern_dev.c2
1 files changed, 1 insertions, 1 deletions
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 @@ err_map_common:
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)