get_error_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

get_error_info β€” Get the current ECC error info

This is the get_error_info(9) page from the Kernel API Manual, bestie β€” and it’s lowkey iconic because it does exactly one job and does it with main character energy. πŸ’…


✨ SYNOPSIS ✨

void get_error_info (void __iomem *base , struct ecc_status *p , int
mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • base β€” pointer to the base address of the OCM. Like, the starting spot. Periodt. ✨
  • p β€” pointer to the OCM ECC status structure. It’s giving β€œhere’s where the status info lives.” 🫢
  • mask β€” status register mask value. Yep, that’s the mask. No cap. πŸ’…

πŸ’… DESCRIPTION πŸ’…

Okay so this function is literally the vibe check: it determines whether there is any ECC error or not. That’s the whole thing. It’s not doing extra, it’s not overthinking β€” it’s just checking β€œare we okay or are we not okay” in ECC land. 😭✨


πŸ¦‹ SEE ALSO πŸ¦‹


Source/version: ./drivers/edac Β· date: October 2026 🌈 β€” mwah, bye bestie! πŸ’–πŸ‘‘

πŸ“¦ where this page comes from