提交 b1c272d1 编写于 作者: B Bin Meng 提交者: Heinrich Schuchardt

cmd: bootefi: Fix fdt_size variable type in efi_carve_out_dt_rsv()

Variable fdt_size should be of type 'fdt_size_t', not 'fdt_addr_t'.

Fixes 0d7c2913: ("cmd: bootefi: Honor the address & size cells properties correctly")
Signed-off-by: NBin Meng <bin.meng@windriver.com>
Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
上级 4ff63383
......@@ -189,7 +189,8 @@ static void efi_carve_out_dt_rsv(void *fdt)
if (nodeoffset >= 0) {
subnode = fdt_first_subnode(fdt, nodeoffset);
while (subnode >= 0) {
fdt_addr_t fdt_addr, fdt_size;
fdt_addr_t fdt_addr;
fdt_size_t fdt_size;
/* check if this subnode has a reg property */
fdt_addr = fdtdec_get_addr_size_auto_parent(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册