 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT early RFC PATCH 02/11] plat/common/ofw: Move fdt_reg_read_number to header file for static inline
 Hi, On 21/06/2019 07:57, Jia He wrote: Signed-off-by: Jia He <justin.he@xxxxxxx> --- plat/drivers/include/ofw/fdt.h | 17 ++++++++++++++++- plat/drivers/ofw/fdt.c | 17 +---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/plat/drivers/include/ofw/fdt.h b/plat/drivers/include/ofw/fdt.h index d00614d..54ce011 100644 --- a/plat/drivers/include/ofw/fdt.h +++ b/plat/drivers/include/ofw/fdt.h @@ -91,7 +91,7 @@ int fdt_interrupt_cells(const void *fdt, int nodeoffset); * -FDT_ERR_NOTFOUND, if the node doesn't have address property * -FDT_ERR_NOSPACE, if the node doesn't have address for index */ -int fdt_get_address(const void *fdt, int nodeoffset, int index, +int fdt_get_address(const void *fdt, int nodeoffset, uint32_t index, I don't think this change belong to this patch. You probably want to fold this in the patch which introduced the function or (if merged) in move it in a separate patch. 
 AFAICT the patch introduce this function has not been merged. So it would be preferable if you fold this into this patch. Why do you suddenly need the include here? Didn't need this before so the compiler check the prototype match the declaration? #include <uk/print.h> @@ -103,22 +104,6 @@ int fdt_interrupt_cells(const void *fdt, int offset) Cheers, -- 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 |