[U-Boot] [PATCH] fdt: Change OF_BAD_ADDR to FDT_ADDR_T_NONE

Bin Meng bmeng.cn at gmail.com
Wed Dec 9 10:43:10 CET 2015


On Wed, Dec 9, 2015 at 3:58 PM, Stefan Roese <sr at denx.de> wrote:
> Hi Bin,
>
> On 07.12.2015 10:39, Bin Meng wrote:
>>
>> Currently OF_BAD_ADDR is always -1ULL. When using OF_BAD_ADDR as the
>> return value of dev_get_addr(), it creates potential size mismatch
>> as dev_get_addr() uses FDT_ADDR_T_NONE as the return value which can
>> be either -1U or -1ULL depending on CONFIG_PHYS_64BIT. Now we change
>> OF_BAD_ADDR to FDT_ADDR_T_NONE to avoid such case.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
>
> A little late, sorry - but:
>
> Reviewed-by: Stefan Roese <sr at denx.de>
>

Thanks Stefan.

Added Stefan's review tag, and re-applied to u-boot-x86/master!


More information about the U-Boot mailing list