[PATCH] pseries/iommu: use correct return type in dupe_ddw_if_already_created
Nishanth Aravamudan
nacc at us.ibm.com
Thu May 12 07:07:51 EST 2011
Otherwise we get silent truncations.
Signed-off-by: Nishanth Aravamudan <nacc at us.ibm.com>
Cc: Anton Blanchard <anton at samba.org>
Cc: Milton Miller <miltonm at bga.com>
Cc: linuxppc-dev at ozlabs.org
---
arch/powerpc/platforms/pseries/iommu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c
index 6d5412a..31e2ac4 100644
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -693,7 +693,7 @@ static void remove_ddw(struct device_node *np)
}
-static int dupe_ddw_if_already_created(struct pci_dev *dev, struct device_node *pdn)
+static u64 dupe_ddw_if_already_created(struct pci_dev *dev, struct device_node *pdn)
{
struct device_node *dn;
struct pci_dn *pcidn;
--
1.7.4.1
More information about the Linuxppc-dev
mailing list