of_changese...op_u32_array(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the of_changese...op_u32_array(9) page from the Kernel API Manual ✨ This one is all about adding a 32 bit integer property array to a changeset, and yeah, it's kinda iconic πŸ’…


πŸ’– NAME πŸ’–

of_changeset_add_prop_u32_array β€” Add a property of 32 bit integers property to a changeset. Yes, the description really says β€œproperty” twice, and we're keeping it, periodt πŸŽ€

✨ SYNOPSIS ✨

Here's the exact signature, no cap:

int of_changeset_add_prop_u32_array (struct of_changeset *ocs , struct
device_node *np , const char *prop_name , const u32 *array , size_t sz
);

πŸŽ€ ARGUMENTS πŸŽ€

  • ocs β€” changeset pointer. This is the changeset bestie you're working with 🫢
  • np β€” device node pointer. The node in question, slay.
  • prop_name β€” name of the property to be added. Pick your fave name, iykyk.
  • array β€” pointer to an array of 32 bit integers. That's the data vibes.
  • sz β€” number of array elements. Count 'em.

🌸 DESCRIPTION 🌸

Create a property of 32 bit integers and add it to a changeset. That's the whole plot, bestie β€” short and sweet πŸ˜­πŸ’–

⭐ RETURN ⭐

0 on success, a negative error value in case of an error. So if you see a negative number, something did not slay πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/of/dynamic.c β€” plus the whole friend group:

signed off from ./drivers/of, October 2026 β€” of_changese...op_u32_array(9) πŸ’–

πŸ“¦ where this page comes from