|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCHv4 9/9] lib/fdt: Change the default value of fdt_size_cells
Hello, This patch seems fine. Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> Sharan On 3/27/19 3:34 AM, Jia He wrote: see 2.3.5 in [1], if "#size-cells" is missing, the default value should be 1 instead of 2. Besides, upstream libfdt code also uses 1 [2] [1]https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.2 [2]https://github.com/dgibson/dtc/blob/eac2ad495b29f15d78daa2a7226653f36515cd7a/libfdt/fdt_addresses.c#L9 Signed-off-by: Jia He <justin.he@xxxxxxx> --- lib/fdt/fdt_addresses.c | 2 +- lib/fdt/include/libfdt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fdt/fdt_addresses.c b/lib/fdt/fdt_addresses.c index eff4dbc..a1860e6 100644 --- a/lib/fdt/fdt_addresses.c +++ b/lib/fdt/fdt_addresses.c @@ -83,7 +83,7 @@ int fdt_size_cells(const void *fdt, int nodeoffset)sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len); _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |