2021-03-26 08:39:31

by Zhen Lei

[permalink] [raw]
Subject: [PATCH 0/4] vfio: fix a couple of spelling mistakes detected by codespell tool

This detection and correction covers the entire driver/vfio directory.

Zhen Lei (4):
vfio/type1: fix a couple of spelling mistakes
vfio/mdev: Fix spelling mistake "interal" -> "internal"
vfio/pci: fix a couple of spelling mistakes
vfio/platform: Fix spelling mistake "registe" -> "register"

drivers/vfio/mdev/mdev_private.h | 2 +-
drivers/vfio/pci/vfio_pci.c | 2 +-
drivers/vfio/pci/vfio_pci_config.c | 2 +-
drivers/vfio/pci/vfio_pci_nvlink2.c | 4 ++--
drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c | 2 +-
drivers/vfio/vfio_iommu_type1.c | 6 +++---
6 files changed, 9 insertions(+), 9 deletions(-)

--
1.8.3



2021-03-26 08:41:20

by Zhen Lei

[permalink] [raw]
Subject: [PATCH 4/4] vfio/platform: Fix spelling mistake "registe" -> "register"

There is a spelling mistake in a comment, fix it.

Signed-off-by: Zhen Lei <[email protected]>
---
drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c b/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
index 09a9453b75c5592..63cc7f0b2e4a437 100644
--- a/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
+++ b/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
@@ -26,7 +26,7 @@
#define XGMAC_DMA_CONTROL 0x00000f18 /* Ctrl (Operational Mode) */
#define XGMAC_DMA_INTR_ENA 0x00000f1c /* Interrupt Enable */

-/* DMA Control registe defines */
+/* DMA Control register defines */
#define DMA_CONTROL_ST 0x00002000 /* Start/Stop Transmission */
#define DMA_CONTROL_SR 0x00000002 /* Start/Stop Receive */

--
1.8.3


2021-03-26 09:19:53

by Eric Auger

[permalink] [raw]
Subject: Re: [PATCH 4/4] vfio/platform: Fix spelling mistake "registe" -> "register"

Hi,

On 3/26/21 9:35 AM, Zhen Lei wrote:
> There is a spelling mistake in a comment, fix it.
>
> Signed-off-by: Zhen Lei <[email protected]>
Acked-by: Eric Auger <[email protected]>

Thanks

Eric

> ---
> drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c b/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
> index 09a9453b75c5592..63cc7f0b2e4a437 100644
> --- a/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
> +++ b/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c
> @@ -26,7 +26,7 @@
> #define XGMAC_DMA_CONTROL 0x00000f18 /* Ctrl (Operational Mode) */
> #define XGMAC_DMA_INTR_ENA 0x00000f1c /* Interrupt Enable */
>
> -/* DMA Control registe defines */
> +/* DMA Control register defines */
> #define DMA_CONTROL_ST 0x00002000 /* Start/Stop Transmission */
> #define DMA_CONTROL_SR 0x00000002 /* Start/Stop Receive */
>
>

2021-04-07 12:12:09

by Alex Williamson

[permalink] [raw]
Subject: Re: [PATCH 0/4] vfio: fix a couple of spelling mistakes detected by codespell tool

On Fri, 26 Mar 2021 16:35:24 +0800
Zhen Lei <[email protected]> wrote:

> This detection and correction covers the entire driver/vfio directory.
>
> Zhen Lei (4):
> vfio/type1: fix a couple of spelling mistakes
> vfio/mdev: Fix spelling mistake "interal" -> "internal"
> vfio/pci: fix a couple of spelling mistakes
> vfio/platform: Fix spelling mistake "registe" -> "register"
>
> drivers/vfio/mdev/mdev_private.h | 2 +-
> drivers/vfio/pci/vfio_pci.c | 2 +-
> drivers/vfio/pci/vfio_pci_config.c | 2 +-
> drivers/vfio/pci/vfio_pci_nvlink2.c | 4 ++--
> drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c | 2 +-
> drivers/vfio/vfio_iommu_type1.c | 6 +++---
> 6 files changed, 9 insertions(+), 9 deletions(-)
>

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

Alex