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 917C6C88CB2 for ; Mon, 12 Jun 2023 20:46:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E4CDB86167; Mon, 12 Jun 2023 22:46:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="HNfdBxZS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F1B5A86131; Mon, 12 Jun 2023 22:46:09 +0200 (CEST) Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (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 4AEFF860C3 for ; Mon, 12 Jun 2023 22:46:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-56d17a5d786so19313207b3.1 for ; Mon, 12 Jun 2023 13:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1686602766; x=1689194766; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=EmMZbKajc5/HVJL8dBjwztvo2Ahu7N9VE2ziMicSJ00=; b=HNfdBxZSwNd9VW7ypzlvuPiBuMHNA9OOBZoRYTRZRTwN3oVJqJOt0SE89Q+kBOcgrA ZIqpcjU75AFst3AmPumB+eG/fE7TvNf0WHEKEwWfCM8NlDeDPCpqfCE5+XstIDxOtPWx cHpFXNXHr3+7eKbopxJL9YUyU1YZWQCbENSKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686602766; x=1689194766; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EmMZbKajc5/HVJL8dBjwztvo2Ahu7N9VE2ziMicSJ00=; b=Z1TOVNi6FrKOFvMhLbWgfnOd7gcC29WoCenyr7CeugJ7SdVyR+VIvmG7Jj2lziJvs4 0euxcqOmc2u5uGVPgd58QIaIm3LENvkK7bv7Qbm7ssoQSJAEg9j26pg2EG4QjnHIb49S NlgS8hVNAxY0CHaGTnSx/kf/AibYgjKqxxUZmMcDs4NcdTdWnRr81P43E7ZyXUoVx2dr 6zHHzy0q+WY8r1XD/jxMJYQrCgjkpkPoxAtaV9TDij8cTjTuY3Z7lJByYRbsCntw5kCd bgZLBcuJhcNWFbUasQ3y8nAE1mNADyYoqverMCnp6TRiuRgeqIBJJC8yNxgui5cbGddj Pnuw== X-Gm-Message-State: AC+VfDzI5SdkrozP0ZahKiZPf4GcLjvE4ZQFqeMLtq8mQkjG5w20UNU1 OA7/f3dKEpII+2Ei6C4vEabweA== X-Google-Smtp-Source: ACHHUZ5ORnDZrJNbf/x77TlYwYGP1duKKbYitpQTFDJNvpJYhuLXGVYywO+/+zaq4vJ0eORyJnnLAA== X-Received: by 2002:a0d:d491:0:b0:56d:3171:26c5 with SMTP id w139-20020a0dd491000000b0056d317126c5mr3339288ywd.33.1686602766008; Mon, 12 Jun 2023 13:46:06 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-b8c8-0809-591a-9a28.res6.spectrum.com. [2603:6081:7b00:6400:b8c8:809:591a:9a28]) by smtp.gmail.com with ESMTPSA id o124-20020a0dfe82000000b00555df877a4csm2689825ywf.102.2023.06.12.13.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 13:46:05 -0700 (PDT) Date: Mon, 12 Jun 2023 16:46:03 -0400 From: Tom Rini To: Sergei Antonov Cc: u-boot@lists.denx.de, Simon Glass Subject: Re: [PATCH] sandbox: fix a compilation error Message-ID: <20230612204603.GD3931582@bill-the-cat> References: <20230612201926.67139-1-saproj@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pHEaClzFpxuSnhE4" Content-Disposition: inline In-Reply-To: <20230612201926.67139-1-saproj@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett 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.8 at phobos.denx.de X-Virus-Status: Clean --pHEaClzFpxuSnhE4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 12, 2023 at 11:19:26PM +0300, Sergei Antonov wrote: > With sandbox and sandbox64 configurations: >=20 > In file included from .../u-boot/include/test/test.h:156, > from .../u-boot/include/test/lib.h:9, > from .../u-boot/test/lib/test_crc8.c:8: > .../u-boot/arch/sandbox/include/asm/test.h: In function =E2=80=98sandbox_= sdl_set_bpp=E2=80=99: > .../u-boot/arch/sandbox/include/asm/test.h:323:17: error: =E2=80=98ENOSYS= =E2=80=99 undeclared (first use in this function) > 323 | return -ENOSYS; > | ^~~~~~ >=20 > Cc: Tom Rini > Cc: Simon Glass > Signed-off-by: Sergei Antonov > --- > arch/sandbox/include/asm/test.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/t= est.h > index e482271fe975..86968ea6d345 100644 > --- a/arch/sandbox/include/asm/test.h > +++ b/arch/sandbox/include/asm/test.h > @@ -8,6 +8,7 @@ > #ifndef __ASM_TEST_H > #define __ASM_TEST_H > =20 > +#include > #include > #include Did you try what I suggested in my email as well? --=20 Tom --pHEaClzFpxuSnhE4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmSHhAgACgkQFHw5/5Y0 tyzBcAwAruNQsn0jkgkC8PhAjUKrMRymN5gUgW0vVLBOmh/8IN1Wza8qlO6RQC65 +OH10MvaoMxqS1YZdKlxekMHMQur+hjo4lPOYsrdRLYLymeo6xn5h0h25upsyj9M H85OfqDKYQ8zFW5lZwPS0qDfIwwRMihrW8d9uoKHxJdRZtrjPInkMiDor7xhlksr OrPrYf9JxeD/ZN/ZXHGagYw3UFKhihM6HArsNjRN4LcfNIrQrHnU/BJz77cO9D64 zEPtpYVArvMLoRMSEZKjtT37miZ5cKig3AOYTK+6LsmJ8dFEuE1bALwfm3kmIA6n HJCtbN2Y9ujuFHvE/6BXEpEpAYG26oPOl8LXTDwj0YHudWHPiW+7m/nmfU1kJO8a cqk2qEjDvlostlVZrwH6wb71dUiTVdvE+RXZIrKM9hqDexitn6H6NJWWPy3DcKT0 DGK0Y4ZtXInPEB20zcrvy/aUpLbX8YKLOmO/z/OMSj1pIXGQsJzCx0zalM7mhXbf UmX5SpiA =Wtox -----END PGP SIGNATURE----- --pHEaClzFpxuSnhE4--