mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-18 17:53:10 +00:00
kboot: Fix dt_device_set_reserved_mem error print
Signed-off-by: Martin Povišer <povik@cutebit.org>
This commit is contained in:
parent
bdc82267c8
commit
9e616021d6
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ static int dt_device_set_reserved_mem(int node, const char *name, uint32_t phand
|
||||||
|
|
||||||
ret = fdt_appendprop_u32(dt, node, "iommu-addresses", phandle);
|
ret = fdt_appendprop_u32(dt, node, "iommu-addresses", phandle);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
bail("DT: could not append phandle '%s.compatible' property: %d\n", name, ret);
|
bail("DT: could not append phandle to '%s.iommu-addresses' property: %d\n", name, ret);
|
||||||
|
|
||||||
ret = fdt_appendprop_u64(dt, node, "iommu-addresses", iova);
|
ret = fdt_appendprop_u64(dt, node, "iommu-addresses", iova);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
|
|
Loading…
Reference in a new issue