STRUCT ELM_ERRORVEC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so, bestie, gather round β€” struct elm_errorvec is literally the error vector for elm. that's it, that's the vibe. it's giving "tiny struct, big job" πŸ’…

so this whole page lives in the Kernel API Manual, section 9, and it's all about struct elm_errorvec(9). buckle up πŸŽ€


✨ SYNOPSIS ✨

here's the whole thing, no cap, exactly as it is:

struct elm_errorvec {
    bool error_reported;
    bool error_uncorrectable;
    int error_count;
    int error_loc[16];
 };

look at her. iconic. four little members, all main character energy πŸ‘‘


🌸 MEMBERS 🌸

okay let's break down each member one by one, no skipping, we do not skip in this house 🫢

  • error_reported β€” this one's a bool, and it gets set true for vectors where an error is reported. so like, it's the "yep, something happened" flag ✨
  • error_uncorrectable β€” this one holds the number of uncorrectable errors. and yeah, the name is doing what it says on the tin β€” uncorrectable, bestie, we can't fix those 😭 that one's a bool too, so lowkey read that name carefully before you assume anything πŸ’€
  • error_count β€” an int that's the number of correctable errors in the sector. cute, fixable, we love her 🌸
  • error_loc β€” an int array, error_loc[16], and it's the buffer for the error location. sixteen whole slots of location-holding realness πŸ”₯
ngl, just a heads-up: error_uncorrectable is declared bool and its description says "number of uncorrectable errors" β€” that's exactly how the page reads it, so don't come for me, I'm just the messenger πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

go look at the kernel file, she's right here:

  • ./include/linux/platform_data/elm.h

iykyk πŸ’œ


and that's the whole page, bestie!! 🧚 this one came from ./include/linux/platform_data and it's dated October 2026, and it's all about struct elm_errorvec(9) β€” go forth and read your error vectors, periodt ⭐🌈

πŸ“¦ where this page comes from