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

From: Arnd Bergmann
Date: Thu Feb 10 2022 - 04:43:46 EST


On Thu, Feb 10, 2022 at 3:11 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>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>