|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCHv2 3/8] plat/fdt: Remove redundant code for fdt_address/size_cells
Hi, On 11/03/2019 09:14, Jia He wrote: From: Jianyong Wu <jianyong.wu@xxxxxxx> We use fdt_get_cells to reduce the redundant code. Well, the behavior of fdt_get_cells is fairly different from the 2 helpers below. So this at least need to be explained in the commit message. But I would rather try to keep libfdt as it is. Otherwise this will be a pain to upgrade it if needed. Instead, I would introduce your own new helpers in a separate file/directory so you can implement them the way you want without modifying the current libfdt. Jira: ENTOS-860 Signed-off-by: Wei Chen <wei.chen@xxxxxxx> Signed-off-by: Jianyong Wu <jianyong.wu@xxxxxxx> Signed-off-by: Jia He <justin.he@xxxxxxx> --- lib/fdt/fdt_addresses.c | 34 ++-------------------------------- lib/fdt/include/libfdt.h | 2 -- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/lib/fdt/fdt_addresses.c b/lib/fdt/fdt_addresses.c index eff4dbc..bccb11c 100644 --- a/lib/fdt/fdt_addresses.c +++ b/lib/fdt/fdt_addresses.c @@ -57,40 +57,10 @@int fdt_address_cells(const void *fdt, int nodeoffset) -- Julien Grall _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |