Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:netdev_err_inject_init

Proto:static int netdev_err_inject_init(void)

Type:int

Parameter:Nothing

33  dir = notifier_err_inject_init("netdev", notifier_err_inject_dir, & netdev_notifier_err_inject, priority)
35  If IS_ERR(dir) Then Return PTR_ERR(dir)
38  err = register a network notifier block
39  If err Then debugfs_remove_recursive(dir)
42  Return err