Skip to contentSkip to conversation

virtio: fix a typo in function "vp_modern_remove" comments.

PATCH In review Dapeng Mi 2 participants 2 messages Dec 10, 2021 virtio core

lore
Share & tools
lore

Dapeng Mi

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/virtio/virtio_pci_modern_dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_pci_modern_dev.c +1 -1
index e11ed748e661..e8b3ff2b9fbc 100644
@@ -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)
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · Dapeng Mi

Function name "vp_modern_remove" in comments is written to "vp_modern_probe" incorrectly. Change it.

---
drivers/virtio/virtio_pci_modern_dev.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_pci_modern_dev.c +1 -1
index e11ed748e661..e8b3ff2b9fbc 100644
@@ -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)
Signature · 1 line
2.30.2