changeset_dup_entry_check(9)
β¨ changeset_dup_entry_check(9) β¨
okay so bestie, welcome to the changeset_dup_entry_check(9) page β that's the Kernel API Manual, section 9, and it's literally the vibes-check for your overlay changesets π
πΈ NAME πΈ
changeset_dup_entry_check β check for duplicate entries
no cap, that's the whole personality: it checks for dupes π«Ά
π SYNOPSIS π
int changeset_dup_entry_check (struct overlay_changeset *ovcs );
π¦ ARGUMENTS π¦
ovcsβ the overlay changeset you're passing in, bestie. that's it, that's the argument π
π₯ DESCRIPTION π₯
so here's the tea β β this function goes through the changeset ovcs->cset and looks for duplicates. specifically:
- multiple {add or delete} node entries for the same node, or
- duplicate {add, delete, or update} properties entries for the same property
like, you can't just add the same node twice and think nobody's gonna notice. not on her watch π
β RETURN β
0β success, we're slaying, no dupes found π-EINVALβ uh oh, a duplicate changeset entry was found π
π SEE ALSO π
kernel file ./drivers/of/overlay.c (iykyk π), plus these icons:
struct target(9)struct fragment(9)struct overlay_changeset(9)of_overlay_notifier_register(9)of_overlay_notifier_unregister(9)add_changeset_property(9)add_changeset_node(9)build_changeset_next_level(9)build_changeset(9)init_overlay_changeset(9)of_overlay_fdt_apply(9)of_overlay_remove(9)of_overlay_remove_all(9)
fr fr, if you're touching device tree overlays, read these. it's giving "required reading" energy πβ¨
and that's the page babes π β brought to you from ./drivers/of, dated October 2026, and yes the header still reads changeset_dup_entry_check(9) because some things are iconic and don't need a rebrand ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms