diff mbox series

[1/4] thunderbolt: Fix typo in comment

Message ID 20220411130049.53656-1-mika.westerberg@linux.intel.com (mailing list archive)
State Accepted
Commit ca319f5565193b7c51533852083ab44837eb2709
Headers show
Series [1/4] thunderbolt: Fix typo in comment | expand

Commit Message

Mika Westerberg April 11, 2022, 1 p.m. UTC
Should be 'in' instead of 'bin'. Fix it.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/thunderbolt/nhi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Brad Campbell April 12, 2022, 12:38 a.m. UTC | #1
On 11/4/22 21:00, Mika Westerberg wrote:
> Should be 'in' instead of 'bin'. Fix it.
> 
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
>  drivers/thunderbolt/nhi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c
> index 4a582183f675..6221ca4ea287 100644
> --- a/drivers/thunderbolt/nhi.c
> +++ b/drivers/thunderbolt/nhi.c
> @@ -1207,7 +1207,7 @@ static int nhi_probe(struct pci_dev *pdev, const struct pci_device_id *id)
>  
>  	nhi->pdev = pdev;
>  	nhi->ops = (const struct tb_nhi_ops *)id->driver_data;
> -	/* cannot fail - table is allocated bin pcim_iomap_regions */
> +	/* cannot fail - table is allocated in pcim_iomap_regions */
>  	nhi->iobase = pcim_iomap_table(pdev)[0];
>  	nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff;
>  	dev_dbg(&pdev->dev, "total paths: %d\n", nhi->hop_count);

You can add 

Tested-by: Brad Campbell <lists2009@fnarfbargle.com> 

to the whole series.

Regards,
Brad
Mika Westerberg April 19, 2022, 7:55 a.m. UTC | #2
On Tue, Apr 12, 2022 at 08:38:29AM +0800, Brad Campbell wrote:
> On 11/4/22 21:00, Mika Westerberg wrote:
> > Should be 'in' instead of 'bin'. Fix it.
> > 
> > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> > ---
> >  drivers/thunderbolt/nhi.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c
> > index 4a582183f675..6221ca4ea287 100644
> > --- a/drivers/thunderbolt/nhi.c
> > +++ b/drivers/thunderbolt/nhi.c
> > @@ -1207,7 +1207,7 @@ static int nhi_probe(struct pci_dev *pdev, const struct pci_device_id *id)
> >  
> >  	nhi->pdev = pdev;
> >  	nhi->ops = (const struct tb_nhi_ops *)id->driver_data;
> > -	/* cannot fail - table is allocated bin pcim_iomap_regions */
> > +	/* cannot fail - table is allocated in pcim_iomap_regions */
> >  	nhi->iobase = pcim_iomap_table(pdev)[0];
> >  	nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff;
> >  	dev_dbg(&pdev->dev, "total paths: %d\n", nhi->hop_count);
> 
> You can add 
> 
> Tested-by: Brad Campbell <lists2009@fnarfbargle.com> 
> 
> to the whole series.

Thanks!

Applied now to thunderbolt.git/next.
diff mbox series

Patch

diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c
index 4a582183f675..6221ca4ea287 100644
--- a/drivers/thunderbolt/nhi.c
+++ b/drivers/thunderbolt/nhi.c
@@ -1207,7 +1207,7 @@  static int nhi_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 
 	nhi->pdev = pdev;
 	nhi->ops = (const struct tb_nhi_ops *)id->driver_data;
-	/* cannot fail - table is allocated bin pcim_iomap_regions */
+	/* cannot fail - table is allocated in pcim_iomap_regions */
 	nhi->iobase = pcim_iomap_table(pdev)[0];
 	nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff;
 	dev_dbg(&pdev->dev, "total paths: %d\n", nhi->hop_count);