[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170806164428.2273-20-mikko.rapeli@iki.fi>
Date: Sun, 6 Aug 2017 18:44:10 +0200
From: Mikko Rapeli <mikko.rapeli@....fi>
To: linux-kernel@...r.kernel.org, linux-api@...r.kernel.org
Cc: Mikko Rapeli <mikko.rapeli@....fi>, linux-omap@...r.kernel.org,
Tomi Valkeinen <tomi.valkeinen@...com>,
Aaro Koskinen <aaro.koskinen@....fi>
Subject: [PATCH v06 19/36] uapi linux/omapfb.h: use __kernel_size_t instead of size_t
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rapeli@....fi>
Cc: linux-omap@...r.kernel.org
Cc: Tomi Valkeinen <tomi.valkeinen@...com>
Cc: Aaro Koskinen <aaro.koskinen@....fi>
---
include/uapi/linux/omapfb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/omapfb.h b/include/uapi/linux/omapfb.h
index 7c97bc00ac6d..b637a924618f 100644
--- a/include/uapi/linux/omapfb.h
+++ b/include/uapi/linux/omapfb.h
@@ -181,7 +181,7 @@ struct omapfb_memory_read {
__u16 y;
__u16 w;
__u16 h;
- size_t buffer_size;
+ __kernel_size_t buffer_size;
void __user *buffer;
};
--
2.13.3
Powered by blists - more mailing lists