OSDN Git Service

fsmap.h: add linux/fsmap.h to UAPI compile-test coverage
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 10 Feb 2022 02:11:27 +0000 (11:11 +0900)
committerArnd Bergmann <arnd@arndb.de>
Thu, 17 Feb 2022 08:09:37 +0000 (09:09 +0100)
commitcbf2820341297b9aed0f846aba35556e94569210
treefe8f5b0c131427c02bf339c2c1923b312fad487f
parent169adc2b6b3c5e86391921117b4ab3aaeb3c6ee1
fsmap.h: add linux/fsmap.h to UAPI compile-test coverage

linux/fsmap.h is currently excluded from the UAPI compile-test because
of the error like follows:

    HDRTEST usr/include/linux/fsmap.h
  In file included from <command-line>:
  ./usr/include/linux/fsmap.h:72:19: error: unknown type name ‘size_t’
     72 | static __inline__ size_t
        |                   ^~~~~~

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>
include/uapi/linux/fsmap.h
usr/include/Makefile