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 83BADC7EE2E for ; Mon, 12 Jun 2023 20:20:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B95ED86175; Mon, 12 Jun 2023 22:20:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DPnjhvk8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B03A986131; Mon, 12 Jun 2023 22:20:05 +0200 (CEST) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 E70DA86175 for ; Mon, 12 Jun 2023 22:20:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=saproj@gmail.com Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f004cc54f4so5731642e87.3 for ; Mon, 12 Jun 2023 13:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686601201; x=1689193201; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7nbqy2yBcwsmqABQhkm4VVh7egVxPQKNg+pQyEjAmgw=; b=DPnjhvk8THQSWwJg0edYPWuIMTQFiHz0B7lHLh0yiw9R2koG8hX1X/UCjjvx+QVlPO s1As90fg8dc0cpCXIWdqZ5z9u4+p+I4yHZgY9RpZMxflxi/hWys1zkOf2BDa8wpFnVxX +Ijz5muXbBi5Uv0Mz9MAT/U6njGazUfOHQga9VBwfahCTX8j4/pGOOJUbHyjpxzGT2G3 /rJW+uHfzD0lHL3XfAWFI9nZre1TxHtC/2/67DMR/cl5bLEEBRv0KGV4xNlnGaYpHMyq pvtLc1X968QMU1V3oCoZ9yNfxU+3IPXLI0UkZMmzJ9wqaBqLFIOiem/icRpQ7tY+CTyD 8MHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686601201; x=1689193201; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7nbqy2yBcwsmqABQhkm4VVh7egVxPQKNg+pQyEjAmgw=; b=KxCDr7jndyNFPQQXYFx0uXvSrvWryCv6U6ozo/SPyFH1nqocfCVXCkiDm2qO0cjzW3 WT1hpaJ+Qkr+KC5WouVG9fny7V4RvnVzyWstj6gQzke3cH3pw5WK0by8vcStnLPDGdE1 Wb9hCTZ/6PLNPb1cqw3pEy01G9Sm3bAJsvR43UmULz+hp8TgJpYhXp3h289V8wDpQmlX g1Je1V7H+IZ/4qpo9Gw697wdb6fsoN8ZeB5pU2KITKOMSGtPRC3z46tNqB/q4pWgDv6h +966qjOlm73Ywo8nDKxWf29uvB9UR8aX/VbM3BeSXTVmXlabJ/cSEfi7nkQPmxeB/a4I x/TA== X-Gm-Message-State: AC+VfDy3O+A6dFsLmiV2f4Qo35akIc09Cs4W1MHkMkFsVpu5By2Uaz6S GLd+mTe7Q29FPCPLf9UldLQbS2miRog= X-Google-Smtp-Source: ACHHUZ4q3kJwg/l4ta70uLdRmxF8iZgzgyxzbtMkkwI4ozRzRx3QdpgwEzjBbPcrjbCTYvTwC4oVIQ== X-Received: by 2002:ac2:5616:0:b0:4f6:2a65:8087 with SMTP id v22-20020ac25616000000b004f62a658087mr4611012lfd.25.1686601201004; Mon, 12 Jun 2023 13:20:01 -0700 (PDT) Received: from saproj-Latitude-5501.lan ([83.217.200.210]) by smtp.gmail.com with ESMTPSA id x30-20020ac259de000000b004f00d3d9df9sm1546385lfn.188.2023.06.12.13.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 13:20:00 -0700 (PDT) From: Sergei Antonov To: u-boot@lists.denx.de Cc: Sergei Antonov , Tom Rini , Simon Glass Subject: [PATCH] sandbox: fix a compilation error Date: Mon, 12 Jun 2023 23:19:26 +0300 Message-Id: <20230612201926.67139-1-saproj@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 With sandbox and sandbox64 configurations: 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 ‘sandbox_sdl_set_bpp’: .../u-boot/arch/sandbox/include/asm/test.h:323:17: error: ‘ENOSYS’ undeclared (first use in this function) 323 | return -ENOSYS; | ^~~~~~ Cc: Tom Rini Cc: Simon Glass Signed-off-by: Sergei Antonov --- arch/sandbox/include/asm/test.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.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 +#include #include #include -- 2.37.2