Re: [PATCH 1/6] signal.h: add linux/signal.h and asm/signal.h to UAPI compile-test coverage

From: Geert Uytterhoeven
Date: Thu Feb 10 2022 - 07:45:56 EST


On Thu, Feb 10, 2022 at 3:36 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
> linux/signal.h and asm/signal.h are currently excluded from the UAPI
> compile-test because of the errors like follows:
>
> HDRTEST usr/include/asm/signal.h
> In file included from <command-line>:
> ./usr/include/asm/signal.h:103:9: error: unknown type name ‘size_t’
> 103 | size_t ss_size;
> | ^~~~~~
>
> The errors can be fixed by replacing size_t with __kernel_size_t.
>
> Then, remove the no-header-test entries from user/include/Makefile.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>

> arch/m68k/include/uapi/asm/signal.h | 2 +-

Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds