powerpc/pseries/iommu: Use correct return type in dupe_ddw_if_already_created
authorNishanth Aravamudan <nacc@us.ibm.com>
Wed, 11 May 2011 11:07:51 +0000 (11:07 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 07:25:27 +0000 (17:25 +1000)
Otherwise we get silent truncations.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Milton Miller <miltonm@bga.com>
Cc: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/iommu.c

index 48eec3b870264ef28e7c0951d215e10fb40642dc..44d47ac552a9a4e86c19610a5b1e8d490b0b4a02 100644 (file)
@@ -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;