edac_mem_repair_get_desc(9)
π edac_mem_repair_get_desc(9)
okay so this is from the Kernel API Manual and it's literally the moment your fave memory repair feature gets its descriptor glow-up β¨ like, this is the function that hands you the EDAC memory repair descriptors, no cap.
πΈ NAME πΈ
edac_mem_repair_get_desc β get EDAC memory repair descriptors π«Ά
β¨ SYNOPSIS β¨
int edac_mem_repair_get_desc (struct device *dev , const struct
attribute_group **attr_groups , u8 instance );
that's the whole vibe: returns an int, takes three args, slay π
π ARGUMENTS π
devβ the client device that's rockin' the memory repair feature πattr_groupsβ pointer to the attribute group container, bestie, it's holding the groups for you π§instanceβ the device's memory repair instance number (u8, keep it cute) β
π₯ RETURN π₯
0β success, periodt! π-EINVALβ invalid parameters got passed in π like, the vibe check failed-ENOMEMβ dynamic memory allocation failed π the memory said no
π¦ SEE ALSO π¦
Kernel file ./drivers/edac/mem_repair.c β go read it, iykyk π
k bye that's the whole page, mwah π
sign-off szn: this baby came from ./drivers/edac, dated October 2026 β manifesting that energy for you, bestie ππ
π¦ 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