build_changeset_next_level(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– build_changeset_next_level(9) πŸ’–

okay so bestie, this one is from the Kernel API Manual ✨ and it's literally build_changeset_next_level(9) β€” the function that adds a level of overlay changeset. no cap 🫢


🌸 NAME 🌸

build_changeset_next_level β€” add level of overlay changeset πŸ’…


✨ SYNOPSIS ✨

int build_changeset_next_level (struct overlay_changeset *ovcs , struct
target *target , const struct device_node *overlay_node );

πŸŽ€ ARGUMENTS πŸŽ€

  • ovcs β€” overlay changeset, the main character here πŸ’–
  • target β€” where to place overlay_node in live tree 🌳
  • overlay_node β€” node from within an overlay device tree fragment πŸ¦‹

🧚 DESCRIPTION 🧚

Add the properties (if any) and nodes (if any) from overlay_node to the ovcs->cset changeset. If an added node has child nodes, they will be added recursively β€” yes, recursively, bestie πŸ”βœ¨.

Do not allow the symbols node to have any children. That's the rule πŸš«πŸ‘‘


⭐ RETURN ⭐

  • 0 β€” on success, slay ✨
  • -ENOMEM β€” if memory allocation failure 😭
  • -EINVAL β€” if invalid overlay_node πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/of/overlay.c β€” and these iconic references:


source/version ./drivers/of 🌸 date October 2026 πŸŽ€ and it's build_changeset_next_level(9) β€” byeee bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from