Thread (89 messages) read the whole thread 89 messages, 13 authors, 2017-09-18
STALE3237d

Revision v06 of 4 in this series.

Revisions (4)
  1. v03 [diff vs current]
  2. v4 [diff vs current]
  3. v05 [diff vs current]
  4. v06 current

[PATCH v06 33/36] uapi linux/fsmap.h: use __kernel_size_t instead of size_t

From: Mikko Rapeli <hidden>
Date: 2017-08-06 17:11:45
Also in: lkml
Subsystem: the rest, xfs filesystem · Maintainers: Linus Torvalds, Carlos Maiolino

Fixes user space compilation error:

linux/fsmap.h:71:19: error: unknown type name ‘size_t’
 static __inline__ size_t
                   ^~~~~~

Signed-off-by: Mikko Rapeli <redacted>
Cc: Darrick J. Wong <redacted>
---
 include/uapi/linux/fsmap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/fsmap.h b/include/uapi/linux/fsmap.h
index 7e8e5f0bd6d2..99600bbed6b6 100644
--- a/include/uapi/linux/fsmap.h
+++ b/include/uapi/linux/fsmap.h
@@ -68,7 +68,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)
 {
-- 
2.13.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help