Re: [PATCH 5/6] kexec.h: add linux/kexec.h to UAPI compile-test coverage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux