History

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.

Masahiro Yamada committed 4 years ago

Commit 2a5c0fd1 parent 8b4bca22 files · +1 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/reiserfs_xattr.h+1−1
@@ -19,7 +19,7 @@ struct reiserfs_xattr_header { · 18 unmodified lines
19struct reiserfs_security_handle {19struct reiserfs_security_handle {
20 const char *name;20 const char *name;
21 void *value;21 void *value;
22 size_t length;22 __kernel_size_t length;
23};23};
24 24
25#endif /* _LINUX_REISERFS_XATTR_H */25#endif /* _LINUX_REISERFS_XATTR_H */