• Masahiro Yamada's avatar
    sparc: add asm/stat.h to UAPI compile-test coverage · 31a088b6
    Masahiro Yamada authored
    asm/stat.h is currently excluded from the UAPI compile-test for
    ARCH=sparc because of the errors like follows:
    
      In file included from <command-line>:
      ./usr/include/asm/stat.h:11:2: error: unknown type name 'ino_t'
         11 |  ino_t   st_ino;
            |  ^~~~~
        HDRTEST usr/include/asm/param.h
      ./usr/include/asm/stat.h:12:2: error: unknown type name 'mode_t'
         12 |  mode_t  st_mode;
            |  ^~~~~~
      ./usr/include/asm/stat.h:14:2: error: unknown type name 'uid_t'
         14 |  uid_t   st_uid;
            |  ^~~~~
      ./usr/include/asm/stat.h:15:2: error: unknown type name 'gid_t'
         15 |  gid_t   st_gid;
            |  ^~~~~
    
    The errors can be fixed by prefixing the types with __kernel_.
    
    Then, remove the no-header-test entry from user/include/Makefile.
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    31a088b6
Makefile 3.16 KB