Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masahiro Yamada and committed by
Arnd Bergmann
2a5c0fdc 8b4bca21

+1 -2
+1 -1
include/uapi/linux/reiserfs_xattr.h
··· 19 19 struct reiserfs_security_handle { 20 20 const char *name; 21 21 void *value; 22 - size_t length; 22 + __kernel_size_t length; 23 23 }; 24 24 25 25 #endif /* _LINUX_REISERFS_XATTR_H */
-1
usr/include/Makefile
··· 33 33 no-header-test += linux/omapfb.h 34 34 no-header-test += linux/patchkey.h 35 35 no-header-test += linux/phonet.h 36 - no-header-test += linux/reiserfs_xattr.h 37 36 no-header-test += linux/sctp.h 38 37 no-header-test += linux/sysctl.h 39 38 no-header-test += linux/usb/audio.h