From: Nishanth Aravamudan Date: Wed, 11 May 2011 11:07:51 +0000 (+0000) Subject: powerpc/pseries/iommu: Use correct return type in dupe_ddw_if_already_created X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=23a6c484047bb8ac50e6d5bb718f8d178a4bf32e;p=linux-beck.git powerpc/pseries/iommu: Use correct return type in dupe_ddw_if_already_created Otherwise we get silent truncations. Signed-off-by: Nishanth Aravamudan Cc: Anton Blanchard Cc: Milton Miller Cc: linuxppc-dev@ozlabs.org Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 48eec3b87026..44d47ac552a9 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;