diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-02-10 05:11:29 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-02-17 11:09:38 +0300 |
commit | 2a5c0fdc70cd653741e910e92ffeb2fa7376db07 (patch) | |
tree | f9a55f46c10ba4b5a72f5bd7b2a4b450459f5ca2 /include/uapi/linux/reiserfs_xattr.h | |
parent | 8b4bca21c2c0cb3b5adb80985830a81d4e5d7081 (diff) | |
download | linux-2a5c0fdc70cd653741e910e92ffeb2fa7376db07.tar.xz |
reiserfs_xattr.h: add linux/reiserfs_xattr.h to UAPI compile-test coverage
linux/reiserfs_xattr.h is currently excluded from the UAPI compile-test
because of the error like follows:
HDRTEST usr/include/linux/reiserfs_xattr.h
In file included from <command-line>:
./usr/include/linux/reiserfs_xattr.h:22:9: error: unknown type name ‘size_t’
22 | size_t length;
| ^~~~~~
The error 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/linux/reiserfs_xattr.h')
-rw-r--r-- | include/uapi/linux/reiserfs_xattr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/reiserfs_xattr.h b/include/uapi/linux/reiserfs_xattr.h index 28f10842f047..503ad018ce5b 100644 --- a/include/uapi/linux/reiserfs_xattr.h +++ b/include/uapi/linux/reiserfs_xattr.h @@ -19,7 +19,7 @@ struct reiserfs_xattr_header { struct reiserfs_security_handle { const char *name; void *value; - size_t length; + __kernel_size_t length; }; #endif /* _LINUX_REISERFS_XATTR_H */ |