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 |
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
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 --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);
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(-)