scmi_handle_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, meet scmi_handle_put(9) from the Kernel API Manual β€” this is the function that releases the handle acquired by scmi_handle_get. That's the whole assignment, no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int scmi_handle_put (const struct scmi_handle *handle );

🌸 ARGUMENTS 🌸

  • handle β€” the handle you got from scmi_handle_get, bestie. This is the one being released. πŸŽ€

πŸŽ€ NOTE πŸŽ€

okay, important vibe check: this function does not track individual clients of the framework, and it's expected to be maintained by the caller of the SCMI protocol library. So like, the caller is the main character here β€” not the function. 🫢

scmi_handle_put must be balanced with successful scmi_handle_get. No cap, that balance is literally the assignment. Don't leave it unbalanced. πŸ’€


πŸ”₯ RETURN πŸ”₯

It returns 0 if successfully released; if null was passed, it returns -EINVAL; that's the whole return plot. ✨


🌈 SEE ALSO 🌈

The whole cross-reference group chat is right here, plus the kernel file:

xoxo, scmi_handle_put(9) πŸ’… β€” source/version: ./drivers/firmware/arm_scmi, date: October 2026. πŸ’–

πŸ“¦ where this page comes from