KUNIT_SUPPRE...ARNING_COUNT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the KUNIT_SUPPRESSED_WARNING_COUNT(9) page from the Kernel API Manual, bestie!! The header banner is doing the truncated KUNIT_SUPPRE...ARNING_COUNT(9) thing, but the actual name is KUNIT_SUPPRESSED_WARNING_COUNT β€” and it literally returns the suppressed warning count. No cap. πŸ’…

✨ SYNOPSIS ✨

KUNIT_SUPPRESSED_WARNING_COUNT

🫢 DESCRIPTION 🫢

okay here’s the actual tea β˜•: this returns the number of WARN*() calls suppressed since the current suppression block started. If the handle is NULL, it returns 0 β€” yes, literally 0, not a vibe check fail. It’s usable inside a kunit_warning_suppress block. That’s the whole adorable contract. ✨

🌈 SEE ALSO 🌈

the related squad is huge and highkey iconic β€” here’s every single one of these:

xoxo, this page’s source path is ./include/kunit and the date is October 2026 β€” the footer’s lil label is KUNIT_SUPPRE...ARNING_COUNT(9), and that’s the whole page, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from