函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fdt_rw_probe_

函数原型:static int fdt_rw_probe_(void *fdt)

返回类型:int

参数:

类型参数名称
void *fdt
29  如果fdt_version(fdt)小于17则返回:负FDT_ERR_BADMAGIC: Given "device tree" appears not to be a* device tree at all - it is missing the flattened device* tree magic number.
31  如果fdt_blocks_misordered_(fdt, sizeof(structfdt_reserve_entry), fdt_size_dt_struct(fdt))则返回:负FDT_ERR_BADSTRUCTURE: Given device tree has a corrupt* structure block or other serious error (e.g. misnested* nodes, or subnodes preceding properties).
34  如果fdt_version(fdt)大于17则fdt_set_version(fdt, 17)
37  返回:0