Skip to content

Commit

Permalink
reiserfs_xattr.h: add linux/reiserfs_xattr.h to UAPI compile-test cov…
Browse files Browse the repository at this point in the history
…erage

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>
  • Loading branch information
masahir0y authored and arndb committed Feb 17, 2022
1 parent 8b4bca2 commit 2a5c0fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion include/uapi/linux/reiserfs_xattr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
1 change: 0 additions & 1 deletion usr/include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ no-header-test += linux/omap3isp.h
no-header-test += linux/omapfb.h
no-header-test += linux/patchkey.h
no-header-test += linux/phonet.h
no-header-test += linux/reiserfs_xattr.h
no-header-test += linux/sctp.h
no-header-test += linux/sysctl.h
no-header-test += linux/usb/audio.h
Expand Down

0 comments on commit 2a5c0fd

Please sign in to comment.