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)
commit23a6c484047bb8ac50e6d5bb718f8d178a4bf32e
treebc3742c6fe443359947a20e337b5b47c038ef01f
parent4c8440666b995f20604852b35dcfdbcc1d5931f1
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>
arch/powerpc/platforms/pseries/iommu.c