edac_device_add_device(9)
π NAME π
okay bestie, welcome to edac_device_add_device(9) from the Kernel API Manual π«Άβ¨ this function is literally the one that inserts the edac_dev structure into the edac_device global list and creates the sysfs entries associated with the edac_device structure. no cap, that's the whole vibe π
β¨ SYNOPSIS β¨
int edac_device_add_device (struct edac_device_ctl_info *edac_dev );
πΈ ARGUMENTS πΈ
edac_devβ pointer to theedac_devicestructure that's getting added to the list π
π₯ RETURN π₯
0 on Success, or an error code on failure π so check it, bestie
π¦ SEE ALSO π¦
- Kernel file
./drivers/edac/edac_device.h edac_device_del_device(9)edac_device_handle_ce_count(9)edac_device_handle_ue_count(9)edac_device_handle_ce(9)edac_device_handle_ue(9)edac_device_alloc_index(9)
okay that's the page π source/version: ./drivers/edac Β· date: October 2026 Β· it's edac_device_add_device(9), and she ate β¨π
π¦ 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