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.
Unified · Split
| @@ -19,7 +19,7 @@ struct reiserfs_xattr_header { · 18 unmodified lines | |||
| 19 | struct reiserfs_security_handle { | 19 | struct 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 */ |
| @@ -33,7 +33,6 @@ no-header-test += linux/omap3isp.h · 32 unmodified lines | |||
| 33 | no-header-test += linux/omapfb.h | 33 | no-header-test += linux/omapfb.h |
| 34 | no-header-test += linux/patchkey.h | 34 | no-header-test += linux/patchkey.h |
| 35 | no-header-test += linux/phonet.h | 35 | no-header-test += linux/phonet.h |
| 36 | no-header-test += linux/reiserfs_xattr.h | ||
| 37 | no-header-test += linux/sctp.h | 36 | no-header-test += linux/sctp.h |
| 38 | no-header-test += linux/sysctl.h | 37 | no-header-test += linux/sysctl.h |
| 39 | no-header-test += linux/usb/audio.h | 38 | no-header-test += linux/usb/audio.h |