diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2011-05-11 07:07:51 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-19 03:25:27 -0400 |
commit | 23a6c484047bb8ac50e6d5bb718f8d178a4bf32e (patch) | |
tree | bc3742c6fe443359947a20e337b5b47c038ef01f /arch/powerpc/platforms | |
parent | 4c8440666b995f20604852b35dcfdbcc1d5931f1 (diff) |
powerpc/pseries/iommu: Use correct return type in dupe_ddw_if_already_created
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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | 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 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) | |||
693 | } | 693 | } |
694 | 694 | ||
695 | 695 | ||
696 | static int dupe_ddw_if_already_created(struct pci_dev *dev, struct device_node *pdn) | 696 | static u64 dupe_ddw_if_already_created(struct pci_dev *dev, struct device_node *pdn) |
697 | { | 697 | { |
698 | struct device_node *dn; | 698 | struct device_node *dn; |
699 | struct pci_dn *pcidn; | 699 | struct pci_dn *pcidn; |