__verify_ras_table_checksum(9)
πΈ __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 π
- Kernel file
./drivers/gpu/drm/amd/ras/core/eeprom.c __ras_eeprom_write(9)ras_eeprom_append(9)__ras_eeprom_read(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms