diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-01-06 07:18:26 +0100 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2014-01-09 12:44:16 +0100 |
commit | b707cb027edf5b7ff1b8637c184b9a58d74e5159 (patch) | |
tree | 6262a1626449d392faa3d7c59aa54d9c81280a03 /drivers/iommu/irq_remapping.c | |
parent | iommu/vt-d: fix wrong return value of dmar_table_init() (diff) | |
download | linux-b707cb027edf5b7ff1b8637c184b9a58d74e5159.tar.xz linux-b707cb027edf5b7ff1b8637c184b9a58d74e5159.zip |
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) |