提交 23a6c484 编写于 作者: N Nishanth Aravamudan 提交者: Benjamin Herrenschmidt

powerpc/pseries/iommu: Use correct return type in dupe_ddw_if_already_created

Otherwise we get silent truncations.
Signed-off-by: NNishanth 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: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 4c844066
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册