__verify_ras_table_checksum(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __verify_ras_table_checksum 🌸

okay bestie, welcome to the Kernel API Manual β€” we're doing a little vibe check on a checksum today and honestly? it's giving "responsible adult energy" πŸ’…


✨ NAME ✨

__verify_ras_table_checksum β€” verify the RAS EEPROM table checksum πŸŽ€

like, the whole point. it checks the check. iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

int __verify_ras_table_checksum(struct ras_eeprom_control *control);

🌸 ARGUMENTS 🌸

  • control β€” pointer to control structure. that's it. that's the whole parameter. she's lowkey simple like that 🫢

πŸ’– DESCRIPTION πŸ’–

So here's the tea: this function checks the checksum of the RAS table that's stored in the EEPROM. no cap, that's literally the job. 🧚

It returns 0 if the checksum is correct, a positive value if it is not correct, and -errno on an I/O error.

ngl bestie, watch that return value β€” positive means "hmm, sus, checksum is off" and negative means "the I/O itself went wrong." two totally different problems, two totally different signs. don't mix them up πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

go read those next, fr fr β€” they're the squad πŸ“


and that's a wrap, bestie ✨ this page came from ./drivers/gpu/drm/amd/ras/core, dated October 2026 β€” every section of the Kernel API Manual accounted for, all facts intact, all of it slay. mwah πŸ’œπŸŽ€

πŸ“¦ where this page comes from