kboot: Fix dt_device_set_reserved_mem error print

Signed-off-by: Martin Povišer <povik@cutebit.org>
This commit is contained in:
Martin Povišer 2023-02-16 11:23:56 +01:00
parent bdc82267c8
commit 9e616021d6

View file

@ -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)