aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/fsmap.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-02-10 11:11:27 +0900
committerArnd Bergmann <arnd@arndb.de>2022-02-17 09:09:37 +0100
commitcbf2820341297b9aed0f846aba35556e94569210 (patch)
treefe8f5b0c131427c02bf339c2c1923b312fad487f /include/uapi/linux/fsmap.h
parentandroid/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverage (diff)
downloadlinux-dev-cbf2820341297b9aed0f846aba35556e94569210.tar.xz
linux-dev-cbf2820341297b9aed0f846aba35556e94569210.zip
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>
Diffstat (limited to 'include/uapi/linux/fsmap.h')
-rw-r--r--include/uapi/linux/fsmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/fsmap.h b/include/uapi/linux/fsmap.h
index 91fd519a3f7d..c690d17f1d07 100644
--- a/include/uapi/linux/fsmap.h
+++ b/include/uapi/linux/fsmap.h
@@ -69,7 +69,7 @@ struct fsmap_head {
};
/* Size of an fsmap_head with room for nr records. */
-static inline size_t
+static inline __kernel_size_t
fsmap_sizeof(
unsigned int nr)
{