diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-01-06 14:18:26 +0800 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2014-01-09 12:44:16 +0100 |
commit | b707cb027edf5b7ff1b8637c184b9a58d74e5159 (patch) | |
tree | 6262a1626449d392faa3d7c59aa54d9c81280a03 /drivers/iommu/irq_remapping.c | |
parent | cc05301fd54f3e166aedf24e39f6731c4dec0451 (diff) | |
download | linux-b707cb027edf5b7ff1b8637c184b9a58d74e5159.tar.bz2 |
iommu/vt-d, trivial: clean sparse warnings
Clean up most sparse warnings in Intel DMA and interrupt remapping
drivers.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/irq_remapping.c')
-rw-r--r-- | drivers/iommu/irq_remapping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_remapping.c index 3b05d1b939c5..228632c99adb 100644 --- a/drivers/iommu/irq_remapping.c +++ b/drivers/iommu/irq_remapping.c @@ -295,8 +295,8 @@ int setup_ioapic_remapped_entry(int irq, vector, attr); } -int set_remapped_irq_affinity(struct irq_data *data, const struct cpumask *mask, - bool force) +static int set_remapped_irq_affinity(struct irq_data *data, + const struct cpumask *mask, bool force) { if (!config_enabled(CONFIG_SMP) || !remap_ops || !remap_ops->set_affinity) |