[PATCH] vfio/pci: fix the wrong word

Bo Liu posted 1 patch 3 years, 9 months ago
There is a newer version of this series
drivers/vfio/pci/vfio_pci_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vfio/pci: fix the wrong word
Posted by Bo Liu 3 years, 9 months ago
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
Re: [PATCH] vfio/pci: fix the wrong word
Posted by Alex Williamson 3 years, 9 months ago
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