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

Unified · Split

2 files
  1. include/uapi/linux/reiserfs_xattr.h +1 −1
  2. usr/include/Makefile +0 −1
include/uapi/linux/reiserfs_xattr.h+1−1
@@ -19,7 +19,7 @@ struct reiserfs_xattr_header { · 18 unmodified lines
1919 struct reiserfs_security_handle {
2020 const char *name;
2121 void *value;
22− size_t length;
22+ __kernel_size_t length;
2323 };
2424
2525 #endif /* _LINUX_REISERFS_XATTR_H */
usr/include/Makefile+0−1
@@ -33,7 +33,6 @@ no-header-test += linux/omap3isp.h · 32 unmodified lines
3333 no-header-test += linux/omapfb.h
3434 no-header-test += linux/patchkey.h
3535 no-header-test += linux/phonet.h
36−no-header-test += linux/reiserfs_xattr.h
3736 no-header-test += linux/sctp.h
3837 no-header-test += linux/sysctl.h
3938 no-header-test += linux/usb/audio.h