Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_rw.c Create Date:2022-07-28 06:18:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fdt_rw_probe_

Proto:static int fdt_rw_probe_(void *fdt)

Type:int

Parameter:

TypeParameterName
void *fdt
29  If fdt_version(fdt) < 17 Then Return -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  If fdt_blocks_misordered_(fdt, sizeof(structfdt_reserve_entry), fdt_size_dt_struct(fdt)) Then Return -FDT_ERR_BADSTRUCTURE: Given device tree has a corrupt* structure block or other serious error (e.g. misnested* nodes, or subnodes preceding properties).
34  If fdt_version(fdt) > 17 Then fdt_set_version(fdt, 17)
37  Return 0