[PATCH] sandbox: fix a compilation error

Simon Glass sjg at chromium.org
Mon Jun 12 23:17:50 CEST 2023


On Mon, 12 Jun 2023 at 21:20, Sergei Antonov <saproj at gmail.com> wrote:
>
> 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 <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Sergei Antonov <saproj at gmail.com>
> ---
>  arch/sandbox/include/asm/test.h | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list