From: Jens Axboe Date: Thu, 7 Oct 2010 13:04:14 +0000 (+0200) Subject: Make binject.h user space friendly X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=9601c17fa0eefd89b7e93aa86c9ed6af6d7935a2;p=binject.git Make binject.h user space friendly Signed-off-by: Jens Axboe --- diff --git a/binject.h b/binject.h index b3316ca..1e73820 100644 --- a/binject.h +++ b/binject.h @@ -7,15 +7,15 @@ #define BINJECT_VER_MASK ((1 << BINJECT_MAGIC_SHIFT) - 1) struct b_user_cmd { - u16 magic; /* INPUT */ - u16 type; /* INPUT */ - u32 error; /* OUTPUT */ - u32 flags; /* INPUT */ - u32 len; /* INPUT */ - u64 offset; /* INPUT */ - u64 buf; /* INPUT */ - u64 usr_ptr; /* PASSED THROUGH */ - u64 nsec; /* OUTPUT */ + __u16 magic; /* INPUT */ + __u16 type; /* INPUT */ + __u32 error; /* OUTPUT */ + __u32 flags; /* INPUT */ + __u32 len; /* INPUT */ + __u64 offset; /* INPUT */ + __u64 buf; /* INPUT */ + __u64 usr_ptr; /* PASSED THROUGH */ + __u64 nsec; /* OUTPUT */ }; struct b_ioctl_cmd {