aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-07-06 07:28:37 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2012-07-17 06:14:55 -0400
commit98f1ad258254d89ffb550a36d59caf9127a9d53f (patch)
tree4d4bd90b5e052e9f444ce84ec3648397fcb56ec7 /drivers/iommu/amd_iommu.c
parent84a1caf1453c3d44050bd22db958af4a7f99315c (diff)
iommu/amd: Fix sparse warnings
A few sparse warnings fire in drivers/iommu/amd_iommu_init.c. Fix most of them with this patch. Also fix the sparse warnings in drivers/iommu/irq_remapping.c while at it. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-rw-r--r--drivers/iommu/amd_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index 625626391f2..7f8e7a8bf50 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -2073,7 +2073,7 @@ out_err:
2073/* FIXME: Move this to PCI code */ 2073/* FIXME: Move this to PCI code */
2074#define PCI_PRI_TLP_OFF (1 << 15) 2074#define PCI_PRI_TLP_OFF (1 << 15)
2075 2075
2076bool pci_pri_tlp_required(struct pci_dev *pdev) 2076static bool pci_pri_tlp_required(struct pci_dev *pdev)
2077{ 2077{
2078 u16 status; 2078 u16 status;
2079 int pos; 2079 int pos;