Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_string.c Create Date:2022-07-28 06:25:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:string_selftest_init

Proto:static __init int string_selftest_init(void)

Type:int

Parameter:Nothing

186  test = 1
187  subtest = memset16_selftest()
188  If subtest Then Go to fail
191  test = 2
192  subtest = memset32_selftest()
193  If subtest Then Go to fail
196  test = 3
197  subtest = memset64_selftest()
198  If subtest Then Go to fail
201  test = 4
202  subtest = strchr_selftest()
203  If subtest Then Go to fail
206  test = 5
207  subtest = strnchr_selftest()
208  If subtest Then Go to fail
211  pr_info("String selftests succeeded\n")
212  Return 0
213  fail :
214  pr_crit("String selftest failure %d.%08x\n", test, subtest)
215  Return 0