[U-Boot] [RFT PATCH] core: of_addr: Correct the size type of of_get_address to fdt_size_t

Eugeniu Rosca roscaeugeniu at gmail.com
Wed Aug 14 10:17:10 UTC 2019


Hi Keerthy,

On Wed, Aug 14, 2019 at 10:21 AM Keerthy <j-keerthy at ti.com> wrote:
>
> Currently the size parameter is deined as u64 type.

s/deined/defined/

> Correct the size type of of_get_address to fdt_size_t
> so that both 64 bit and 32 bit architectures are taken
> care of.

Please, reference the initial bug report
https://patchwork.ozlabs.org/patch/1090094/#2212555 and, ideally, add
the "Fixes: <commit-adding-the-issue>" line.
Please, add: Reported-by: Eugeniu Rosca <rosca.eugeniu at gmail.com>

> Signed-off-by: Keerthy <j-keerthy at ti.com>
> ---
>  drivers/core/of_addr.c | 4 ++--
>  drivers/core/ofnode.c  | 2 +-
>  include/dm/of_addr.h   | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)

Given my test results in https://patchwork.ozlabs.org/patch/1090094/#2238022:

Tested-by: Eugeniu Rosca <rosca.eugeniu at gmail.com>

Thank you very much.

-- 
Best Regards,
Eugeniu.


More information about the U-Boot mailing list