lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] virtio: fix a typo in function "vp_modern_remove" comments.
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 <dapeng1.mi@intel.com>
>---
> 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 <sgarzare@redhat.com>

\
 
 \ /
  Last update: 2021-12-10 16:58    [W:0.035 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site