OSDN Git Service

selftests/harness: Clean up kern-doc for fixtures
authorKees Cook <keescook@chromium.org>
Sun, 5 Jul 2020 06:12:30 +0000 (23:12 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 17 Jul 2020 19:37:16 +0000 (13:37 -0600)
commit3e4cd8ea7a99554d0125af791f1125c0402c6a19
tree047f1bd97b7fb12240f6798be717b37fe13db1d7
parenta80d6055b344cbf4b2be22bf26fed9d85fe1787b
selftests/harness: Clean up kern-doc for fixtures

The FIXTURE*() macro kern-doc examples had the wrong names for the C code
examples associated with them. Fix those and clarify that FIXTURE_DATA()
usage should be avoided.

Cc: Shuah Khan <shuah@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Fixes: 74bc7c97fa88 ("kselftest: add fixture variants")
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kselftest_harness.h