Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_overflow.c Create Date:2022-07-28 06:31:17
Last Modify:2022-05-18 10:03:51 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_module_init

Proto:static int __init test_module_init(void)

Type:int

Parameter:Nothing

597  err = 0
599  err |= test_overflow_calculation()
600  err |= test_overflow_shift()
601  err |= Allocator uses a trailing node argument --------+ (e.g. kmalloc_node())* Allocator uses the gfp_t argument -----------+ | (e.g. kmalloc())* Allocator uses a special leading argument + | | (e.g. devm_kmalloc())* | | |
603  If err Then
604  pr_warn("FAIL!\n")
605  err = -EINVAL
606  Else
607  pr_info("all tests passed\n")
610  Return err