]> git.baikalelectronics.ru Git - kernel.git/commitdiff
docs:kselftest: fix kselftest_module.h path of example module
authorHoi Pok Wu <wuhoipok@gmail.com>
Wed, 24 Aug 2022 14:25:05 +0000 (22:25 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 5 Oct 2022 17:05:18 +0000 (11:05 -0600)
"module.h" does not exist in kselftest, it should be "kselftest_module.h".

Signed-off-by: Hoi Pok Wu <wuhoipok@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kselftest.rst

index e87973763b919ce0da2cea0396dd70c2ce848fc8..12b575b76b20b1ded2f33b28746f32244a16ac44 100644 (file)
@@ -320,7 +320,7 @@ A bare bones test module might look like this:
 
    #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-   #include "../tools/testing/selftests/kselftest/module.h"
+   #include "../tools/testing/selftests/kselftest_module.h"
 
    KSTM_MODULE_GLOBALS();