On Tue, Feb 17, 2015 at 02:55:49PM +0100, Arnd Bergmann wrote:
> On Tuesday 17 February 2015 13:38:06 Alasdair G Kergon wrote:
> > On Tue, Feb 17, 2015 at 10:08:56AM +0100, Arnd Bergmann wrote:
> > > The normal way to do this in kernel headers is to use linux/types.h
> > > but change the data
On Tue, Feb 17, 2015 at 02:55:49PM +0100, Arnd Bergmann wrote:
On Tuesday 17 February 2015 13:38:06 Alasdair G Kergon wrote:
On Tue, Feb 17, 2015 at 10:08:56AM +0100, Arnd Bergmann wrote:
The normal way to do this in kernel headers is to use linux/types.h
but change the data structures to
On Tuesday 17 February 2015 13:38:06 Alasdair G Kergon wrote:
> On Tue, Feb 17, 2015 at 10:08:56AM +0100, Arnd Bergmann wrote:
> > The normal way to do this in kernel headers is to use linux/types.h
> > but change the data structures to use __u64 instead of uint64_t
> > to avoid the build error.
>
On Tue, Feb 17, 2015 at 10:08:56AM +0100, Arnd Bergmann wrote:
> The normal way to do this in kernel headers is to use linux/types.h
> but change the data structures to use __u64 instead of uint64_t
> to avoid the build error.
That's what happened to dm-ioctl.h.
(Or someone could adjust
On Tuesday 17 February 2015 00:05:18 Mikko Rapeli wrote:
> --- a/include/uapi/linux/dm-log-userspace.h
> +++ b/include/uapi/linux/dm-log-userspace.h
> @@ -7,6 +7,11 @@
> #ifndef __DM_LOG_USERSPACE_H__
> #define __DM_LOG_USERSPACE_H__
>
> +#ifdef __KERNEL__
> +#include
> +#else
> +#include
>
On Tue, Feb 17, 2015 at 10:08:56AM +0100, Arnd Bergmann wrote:
The normal way to do this in kernel headers is to use linux/types.h
but change the data structures to use __u64 instead of uint64_t
to avoid the build error.
That's what happened to dm-ioctl.h.
(Or someone could adjust
On Tuesday 17 February 2015 13:38:06 Alasdair G Kergon wrote:
On Tue, Feb 17, 2015 at 10:08:56AM +0100, Arnd Bergmann wrote:
The normal way to do this in kernel headers is to use linux/types.h
but change the data structures to use __u64 instead of uint64_t
to avoid the build error.
On Tuesday 17 February 2015 00:05:18 Mikko Rapeli wrote:
--- a/include/uapi/linux/dm-log-userspace.h
+++ b/include/uapi/linux/dm-log-userspace.h
@@ -7,6 +7,11 @@
#ifndef __DM_LOG_USERSPACE_H__
#define __DM_LOG_USERSPACE_H__
+#ifdef __KERNEL__
+#include linux/types.h
+#else
+#include
On Mon, Feb 16, 2015 at 06:32:54PM -0500, Mike Snitzer wrote:
> On Mon, Feb 16 2015 at 6:05pm -0500,
> Mikko Rapeli wrote:
>
> > Fixes compilation error:
> >
> > linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
>
> What userspace code are you compiling? Do you have a feel
On Mon, Feb 16 2015 at 6:05pm -0500,
Mikko Rapeli wrote:
> Fixes compilation error:
>
> linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
What userspace code are you compiling? Do you have a feel for when this
stopped working?
--
To unsubscribe from this list: send the line
Fixes compilation error:
linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/dm-log-userspace.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/dm-log-userspace.h
Fixes compilation error:
linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi
---
include/uapi/linux/dm-log-userspace.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/dm-log-userspace.h
On Mon, Feb 16 2015 at 6:05pm -0500,
Mikko Rapeli mikko.rap...@iki.fi wrote:
Fixes compilation error:
linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
What userspace code are you compiling? Do you have a feel for when this
stopped working?
--
To unsubscribe from this
On Mon, Feb 16, 2015 at 06:32:54PM -0500, Mike Snitzer wrote:
On Mon, Feb 16 2015 at 6:05pm -0500,
Mikko Rapeli mikko.rap...@iki.fi wrote:
Fixes compilation error:
linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
What userspace code are you compiling? Do you have
14 matches
Mail list logo