Otherwise we get silent truncations.
Signed-off-by: Nishanth Aravamudan <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Milton Miller <[email protected]>
Cc: [email protected]
---
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
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev