Skip to content

Commit

Permalink
docs:kselftest: fix kselftest_module.h path of example module
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Hoi Pok Wu authored and Shuah Khan committed Oct 5, 2022
1 parent bf6430f commit 83e14a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/dev-tools/kselftest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 83e14a5

Please sign in to comment.