[PATCH] ntb: idt: Fix the cacography in ntb_hw_idt.c

zhangjiao2 posted 1 patch 1 year, 5 months ago
drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ntb: idt: Fix the cacography in ntb_hw_idt.c
Posted by zhangjiao2 1 year, 5 months ago
From: zhang jiao <zhangjiao2@cmss.chinamobile.com>

The word 'swtich' is wrong, so fix it.

Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
---
 drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
index 48dfb1a69a77..6fc9dfe82474 100644
--- a/drivers/ntb/hw/idt/ntb_hw_idt.c
+++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
@@ -2547,7 +2547,7 @@ static void idt_deinit_dbgfs(struct idt_ntb_dev *ndev)
  */
 
 /*
- * idt_check_setup() - Check whether the IDT PCIe-swtich is properly
+ * idt_check_setup() - Check whether the IDT PCIe-switch is properly
  *		       pre-initialized
  * @pdev:	Pointer to the PCI device descriptor
  *
-- 
2.33.0
Re: [PATCH] ntb: idt: Fix the cacography in ntb_hw_idt.c
Posted by Serge Semin 1 year, 5 months ago
On Wed, Sep 04, 2024 at 02:54:42PM +0800, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
> 
> The word 'swtich' is wrong, so fix it.
> 
> Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>

Acked-by: Serge Semin <fancer.lancer@gmail.com>

-Serge(y)

> ---
>  drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
> index 48dfb1a69a77..6fc9dfe82474 100644
> --- a/drivers/ntb/hw/idt/ntb_hw_idt.c
> +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
> @@ -2547,7 +2547,7 @@ static void idt_deinit_dbgfs(struct idt_ntb_dev *ndev)
>   */
>  
>  /*
> - * idt_check_setup() - Check whether the IDT PCIe-swtich is properly
> + * idt_check_setup() - Check whether the IDT PCIe-switch is properly
>   *		       pre-initialized
>   * @pdev:	Pointer to the PCI device descriptor
>   *
> -- 
> 2.33.0
> 
> 
>
Re: [PATCH] ntb: idt: Fix the cacography in ntb_hw_idt.c
Posted by Dave Jiang 1 year, 5 months ago

On 9/3/24 11:54 PM, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
> 
> The word 'swtich' is wrong, so fix it.
> 
> Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
> ---
>  drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
> index 48dfb1a69a77..6fc9dfe82474 100644
> --- a/drivers/ntb/hw/idt/ntb_hw_idt.c
> +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
> @@ -2547,7 +2547,7 @@ static void idt_deinit_dbgfs(struct idt_ntb_dev *ndev)
>   */
>  
>  /*
> - * idt_check_setup() - Check whether the IDT PCIe-swtich is properly
> + * idt_check_setup() - Check whether the IDT PCIe-switch is properly
>   *		       pre-initialized
>   * @pdev:	Pointer to the PCI device descriptor
>   *