Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:tools\testing\selftests\kselftest_module.h Create Date:2022-07-28 06:32:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kstm_report

Proto:static inline int kstm_report(unsigned int total_tests, unsigned int failed_tests)

Type:int

Parameter:

TypeParameterName
unsigned inttotal_tests
unsigned intfailed_tests
26  If failed_tests == 0 Then pr_info("all %u tests passed\n", total_tests)
28  Else pr_warn("failed %u out of %u tests\n", failed_tests, total_tests)
31  Return If failed_tests Then -EINVAL Else 0
Caller
NameDescribe
test_printf_init
test_bitmap_init
test_strscpy_init