Skip to content

Commit

Permalink
parisc: sba-iommu: Fix comment when calculating IOC number
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
Helge Deller committed Oct 30, 2023
1 parent 05d3ef8 commit 58ad89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/parisc/sba_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ void * sba_get_iommu(struct parisc_device *pci_hba)
struct parisc_device *sba_dev = parisc_parent(pci_hba);
struct sba_device *sba = dev_get_drvdata(&sba_dev->dev);
char t = sba_dev->id.hw_type;
int iocnum = (pci_hba->hw_path >> 3); /* rope # */
int iocnum = (pci_hba->hw_path >> 3); /* IOC # */

WARN_ON((t != HPHW_IOA) && (t != HPHW_BCPORT));

Expand Down

0 comments on commit 58ad89e

Please sign in to comment.