Skip to content

Commit

Permalink
powerpc/pseries/iommu: Use correct return type in dupe_ddw_if_already…
Browse files Browse the repository at this point in the history
…_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>
  • Loading branch information
Nishanth Aravamudan authored and Benjamin Herrenschmidt committed May 19, 2011
1 parent 4c84406 commit 23a6c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 23a6c48

Please sign in to comment.