version_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… version_get(9) β€” like, the Kernel API Manual page for version_get

okay so bestie, we're deep in the Kernel API Manual today (section 9, kernel-land, no cap) and the function we're stanning is literally called version_get. Yes girl, it's exactly what it sounds like ✨


🌸 NAME 🌸

version_get β€” the command to get the revision of the SCMI entity πŸŽ€


✨ SYNOPSIS ✨

int version_get (const struct scmi_protocol_handle *ph , u32 *version );

that's the whole vibe. two args, one int coming back atcha πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ph β€” pointer to the SCMI protocol handle. like, the little handle bestie that tells you which protocol we're even talking about 🫢
  • version β€” holds the returned version of the protocol. this is where the answer gets dropped off, so make sure it's pointing somewhere real πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

Updates the SCMI information in the internal data structure. that's it, that's the whole glow-up β€” it refreshes the info inside the internal data structure. main character behaviour, tbh 🌟


πŸŽ€ RETURN πŸŽ€

0 if all went fine πŸ”₯ β€” otherwise it returns the appropriate error, and you're gonna have to deal with that yourself, sorry babe 😭


🌈 SEE ALSO 🌈

here's the whole friend group, iykyk β€” starting with the kernel file ./drivers/firmware/arm_scmi/driver.c and then, honestly, everybody:


okay that's the whole page, go be iconic with your protocol revisions πŸ’–βœ¨

lowkey reminder that this whole thing lives under ./drivers/firmware/arm_scmi and it's dated October 2026 β€” so like, mark your calendars bestie πŸ—“οΈπŸŽ€

mwah, bye πŸ’…πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from