diff mbox series

vfio/pci: fix the wrong word

Message ID 20220801013918.2520-1-liubo03@inspur.com (mailing list archive)
State New, archived
Headers show
Series vfio/pci: fix the wrong word | expand

Commit Message

Bo Liu Aug. 1, 2022, 1:39 a.m. UTC
This patch fixes a wrong word in comment.

Signed-off-by: Bo Liu <liubo03@inspur.com>
---
 drivers/vfio/pci/vfio_pci_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Williamson Aug. 1, 2022, 8:55 p.m. UTC | #1
On Sun, 31 Jul 2022 21:39:18 -0400
Bo Liu <liubo03@inspur.com> wrote:

> This patch fixes a wrong word in comment.
> 
> Signed-off-by: Bo Liu <liubo03@inspur.com>
> ---
>  drivers/vfio/pci/vfio_pci_config.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c
> index 97e5ade6efb3..442d3ba4122b 100644
> --- a/drivers/vfio/pci/vfio_pci_config.c
> +++ b/drivers/vfio/pci/vfio_pci_config.c
> @@ -222,7 +222,7 @@ static int vfio_default_config_write(struct vfio_pci_core_device *vdev, int pos,
>  		memcpy(vdev->vconfig + pos, &virt_val, count);
>  	}
>  
> -	/* Non-virtualzed and writable bits go to hardware */
> +	/* Non-virtualized and writable bits go to hardware */
>  	if (write & ~virt) {
>  		struct pci_dev *pdev = vdev->pdev;
>  		__le32 phys_val = 0;

Applied to vfio next branch for v5.20/v6.0.  Thanks,

Alex
diff mbox series

Patch

diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c
index 97e5ade6efb3..442d3ba4122b 100644
--- a/drivers/vfio/pci/vfio_pci_config.c
+++ b/drivers/vfio/pci/vfio_pci_config.c
@@ -222,7 +222,7 @@  static int vfio_default_config_write(struct vfio_pci_core_device *vdev, int pos,
 		memcpy(vdev->vconfig + pos, &virt_val, count);
 	}
 
-	/* Non-virtualzed and writable bits go to hardware */
+	/* Non-virtualized and writable bits go to hardware */
 	if (write & ~virt) {
 		struct pci_dev *pdev = vdev->pdev;
 		__le32 phys_val = 0;