函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_printf.c Create Date:2022-07-27 07:30:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fwnode_pointer

函数原型:static void __init fwnode_pointer(void)

返回类型:void

参数:

600  const struct software_node softnodes[] = {{name = "first", }, {name = "second", parent = & softnodes[0], }, {name = "third", parent = & softnodes[1], }, {NULL}}
606  full_name等于"first/second/third"
607  full_name_second等于"first/second"
608  second_name等于"second"
609  third_name等于"third"
612  rval等于software_node_register_nodes(softnodes)
613  如果rval
614  打印警告信息("cannot register softnodes; rval %d\n", rval)
615  返回
618  test(full_name_second, "%pfw", software_node_fwnode( & softnodes[1]))
619  test(full_name, "%pfw", software_node_fwnode( & softnodes[2]))
620  test(full_name, "%pfwf", software_node_fwnode( & softnodes[2]))
621  test(second_name, "%pfwP", software_node_fwnode( & softnodes[1]))
622  test(third_name, "%pfwP", software_node_fwnode( & softnodes[2]))
624  software_node_unregister_nodes(softnodes)
调用者
名称描述
test_pointer