ENUM KMOD_TEST_CASE(9)
β¨ enum kmod_test_case(9) β¨
okay so this is from the Kernel API Manual bestie, and it's all about enum kmod_test_case β the linker table test case situation π
like it's genuinely a kernel thing, not a drill.
πΈ NAME πΈ
enum kmod_test_case β the linker table test case, periodt π
π¦ SYNOPSIS π¦
enum kmod_test_case {
TEST_KMOD_DRIVER ,
TEST_KMOD_FS_TYPE
};
no cap, that's the whole enum, two constants, she's compact π
π Constants π
TEST_KMOD_DRIVERβ stress testsrequest_moduleπ₯ like it's literally puttingrequest_modulethrough the vibe checkTEST_KMOD_FS_TYPEβ stress testsget_fs_typeβ same energy, different function, she's stressingget_fs_typefr fr
π Description π
so if you add a test case β and honestly slay if you do β please be sure to review whether you need to set need_mod_put for your test case π like don't just drop a new constant in and ghost, check that need_mod_put situation first, iykyk π
ok bestie this is the one thing the page actually asks of you: review need_mod_put for your test case when you add one. not optional-vibes, it's giving "please actually check" π«Ά
π§ SEE ALSO π§
- Kernel file
./lib/test_kmod.cπ struct kmod_test_device_info(9)πstruct kmod_test_device(9)β¨
and that's the whole page, bestie π sign-off time: this lil icon lives in ./lib, dated October 2026, and it's enum kmod_test_case(9) all the way down πππ¦
π¦ 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