linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vfio/pci: fix the wrong word
@ 2022-08-01  1:39 Bo Liu
  2022-08-01 20:55 ` Alex Williamson
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Liu @ 2022-08-01  1:39 UTC (permalink / raw)
  To: alex.williamson, cohuck; +Cc: kvm, linux-kernel, Bo Liu

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;
-- 
2.27.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] vfio/pci: fix the wrong word
  2022-08-01  1:39 [PATCH] vfio/pci: fix the wrong word Bo Liu
@ 2022-08-01 20:55 ` Alex Williamson
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Williamson @ 2022-08-01 20:55 UTC (permalink / raw)
  To: Bo Liu; +Cc: cohuck, kvm, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] vfio/pci: fix the wrong word
  2022-07-04  2:36 Bo Liu
@ 2022-07-07 21:32 ` Alex Williamson
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Williamson @ 2022-07-07 21:32 UTC (permalink / raw)
  To: Bo Liu; +Cc: cohuck, kvm, linux-kernel

On Sun, 3 Jul 2022 22:36:49 -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 9343f597182d..97e5ade6efb3 100644
> --- a/drivers/vfio/pci/vfio_pci_config.c
> +++ b/drivers/vfio/pci/vfio_pci_config.c
> @@ -1728,7 +1728,7 @@ int vfio_config_init(struct vfio_pci_core_device *vdev)
>  	/*
>  	 * Config space, caps and ecaps are all dword aligned, so we could
>  	 * use one byte per dword to record the type.  However, there are
> -	 * no requiremenst on the length of a capability, so the gap between
> +	 * no requirements on the length of a capability, so the gap between
>  	 * capabilities needs byte granularity.
>  	 */
>  	map = kmalloc(pdev->cfg_size, GFP_KERNEL);

Applied to vfio next branch for v5.20.  Thanks,

Alex


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] vfio/pci: fix the wrong word
@ 2022-07-04  2:36 Bo Liu
  2022-07-07 21:32 ` Alex Williamson
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Liu @ 2022-07-04  2:36 UTC (permalink / raw)
  To: alex.williamson, cohuck; +Cc: kvm, linux-kernel, Bo Liu

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 9343f597182d..97e5ade6efb3 100644
--- a/drivers/vfio/pci/vfio_pci_config.c
+++ b/drivers/vfio/pci/vfio_pci_config.c
@@ -1728,7 +1728,7 @@ int vfio_config_init(struct vfio_pci_core_device *vdev)
 	/*
 	 * Config space, caps and ecaps are all dword aligned, so we could
 	 * use one byte per dword to record the type.  However, there are
-	 * no requiremenst on the length of a capability, so the gap between
+	 * no requirements on the length of a capability, so the gap between
 	 * capabilities needs byte granularity.
 	 */
 	map = kmalloc(pdev->cfg_size, GFP_KERNEL);
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-01 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01  1:39 [PATCH] vfio/pci: fix the wrong word Bo Liu
2022-08-01 20:55 ` Alex Williamson
  -- strict thread matches above, loose matches on Subject: below --
2022-07-04  2:36 Bo Liu
2022-07-07 21:32 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).