diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-02-10 05:11:28 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-02-17 11:09:38 +0300 |
commit | 8b4bca21c2c0cb3b5adb80985830a81d4e5d7081 (patch) | |
tree | 869ad5cd2da9cd331996f3ff2b6fc660418699b7 /include/uapi | |
parent | cbf2820341297b9aed0f846aba35556e94569210 (diff) | |
download | linux-8b4bca21c2c0cb3b5adb80985830a81d4e5d7081.tar.xz |
kexec.h: add linux/kexec.h to UAPI compile-test coverage
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@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/kexec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/kexec.h b/include/uapi/linux/kexec.h index 778dc191c265..fb7e2ef60825 100644 --- a/include/uapi/linux/kexec.h +++ b/include/uapi/linux/kexec.h @@ -54,9 +54,9 @@ */ struct kexec_segment { const void *buf; - size_t bufsz; + __kernel_size_t bufsz; const void *mem; - size_t memsz; + __kernel_size_t memsz; }; #endif /* __KERNEL__ */ |