dm: core: Reverse the argument order in ofnode_copy_props()
Follow the order used by memcpy() as it may be less confusing. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -187,7 +187,7 @@ static int bootmeth_vbe_ft_fixup(void *ctx, struct event *event)
|
||||
ret = ofnode_add_subnode(dest_parent, name, &dest);
|
||||
if (ret && ret != -EEXIST)
|
||||
return log_msg_ret("add", ret);
|
||||
ret = ofnode_copy_props(node, dest);
|
||||
ret = ofnode_copy_props(dest, node);
|
||||
if (ret)
|
||||
return log_msg_ret("cp", ret);
|
||||
|
||||
|
Reference in New Issue
Block a user