From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 875C2C433FE for ; Thu, 13 Jan 2022 18:03:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E121F835D8; Thu, 13 Jan 2022 19:01:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="JZwFmil0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9BCBF83420; Thu, 13 Jan 2022 19:01:00 +0100 (CET) Received: from mail-vk1-xa29.google.com (mail-vk1-xa29.google.com [IPv6:2607:f8b0:4864:20::a29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 392DC834AA for ; Thu, 13 Jan 2022 19:00:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-vk1-xa29.google.com with SMTP id d189so4375754vkg.3 for ; Thu, 13 Jan 2022 10:00:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc:content-transfer-encoding; bh=eMFMthuaI9FGg/nWIcRz47N5/EJ3/w7P+STFxdHIRso=; b=JZwFmil08HYebHtwC85lxscYJ/hIPCuRmEGXGP7mIxLrPc1s1f6sMKAHI3NctbvUMt 7NTXzrVMVvpQnHFfoLap5MmlsoSp3RQfpvLhsMrRyGqrNM9PkNtMqR6VcQuKkHrKz9l0 PUcoXC+ajJBRCPvWHoslyw9yVGPMWXexBSgWQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc:content-transfer-encoding; bh=eMFMthuaI9FGg/nWIcRz47N5/EJ3/w7P+STFxdHIRso=; b=yRbJ+LJtb7ArlhBpAqQyboQZYxSez5QmirYSyXZ4RQA5CyMcpmxfUS6uzRDP7+cfMH V+eniN3yao9bKUTeX+UetiUn7cwIlW+Oxb2Gr/Pz/WOX+mGBQzqn72qc2DiDtBusvT7v ZyJUVpXDA6TKUWk88kNZdJQ6ObFj3RW1x50FG/hLKfQx8ZxHImKz1kDJnCZFDI1mAkww Qbr0/eTHGuVHm4qQRtdWthwEjM3RXLRw/sxng2ITxWqAa9oG5DdA1xwpGqBLSx37KUM5 +uTb4YOpWJVFiGSKhXT94m37NQ+5Q9VGNIaDOxzH/s/IYpcPVl1vQdKtN8HaoSzbwVzT fgyw== X-Gm-Message-State: AOAM532PmS74Suo+0JpMRtjGK7FmvSaJUoiU0dbCuBZTIVU+H9NMrsHO JbXlId+hOpqsHF2SuptYKp9WkgJzlakZet1EE0pyNQ== X-Google-Smtp-Source: ABdhPJyL0iH6AFmUjQY9hEVFOtlOc8FRykBl7oL4ug4mmxAvDevbIw2jNzOm3XOQhAPKsLsbX2Lw0jshy0duVPJ53MM= X-Received: by 2002:a1f:2d8a:: with SMTP id t132mr2976616vkt.3.1642096854762; Thu, 13 Jan 2022 10:00:54 -0800 (PST) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Jan 2022 10:00:53 -0800 MIME-Version: 1.0 From: Simon Glass In-Reply-To: References: <20220111005024.179632-1-heinrich.schuchardt@canonical.com> Date: Thu, 13 Jan 2022 10:00:53 -0800 X-Google-Sender-Auth: qIFY1irwKmvTstEJzj4JQ1KyqMU Message-ID: Subject: Re: [PATCH 1/1] sandbox: compatibility of os_get_filesize() To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , =?UTF-8?Q?Milan_P_=2E_Stani=C4=87?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Mon, 10 Jan 2022 at 17:50, Heinrich Schuchardt 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=C4=87 > Signed-off-by: Heinrich Schuchardt > --- > arch/sandbox/cpu/os.c | 10 ++++++++-- > include/os.h | 2 +- > 2 files changed, 9 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass Applied to u-boot-dm, thanks!