changeset_dup_entry_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


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