Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\pm-notifier-error-inject.c Create Date:2022-07-28 07:11:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:err_inject_init

Proto:static int err_inject_init(void)

Type:int

Parameter:Nothing

27  dir = notifier_err_inject_init("pm", notifier_err_inject_dir, & pm_notifier_err_inject, priority)
29  If IS_ERR(dir) Then Return PTR_ERR(dir)
32  err = register_pm_notifier( & nb)
33  If err Then debugfs_remove_recursive(dir)
36  Return err