On Mon, 10 Jan 2022 at 17:50, Heinrich Schuchardt
<heinrich.schucha...@canonical.com> wrote:
>
> U-Boot define loff_t as long long. But the header
> /usr/include/linux/types.h may not define it.
> This has lead to a build error on Alpine Linux.
>
> So let's use long long instead of loff_t for
> the size parameter of function os_get_filesize().
>
> Reported-by: Milan P. Stanić <m...@arvanta.net>
> Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com>
> ---
>  arch/sandbox/cpu/os.c | 10 ++++++++--
>  include/os.h          |  2 +-
>  2 files changed, 9 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Applied to u-boot-dm, thanks!

Reply via email to