Commit 436d1654 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds

[PATCH] use __u8 rather than u8 in userspace SIZE defines in hdreg.h

Use __u8 rather than u8 in SIZE defines exported to userspace.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 34e9a63b
...@@ -60,13 +60,15 @@ ...@@ -60,13 +60,15 @@
#define TAG_MASK 0xf8 #define TAG_MASK 0xf8
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#include <linux/types.h>
/* /*
* Command Header sizes for IOCTL commands * Command Header sizes for IOCTL commands
*/ */
#define HDIO_DRIVE_CMD_HDR_SIZE (4 * sizeof(u8)) #define HDIO_DRIVE_CMD_HDR_SIZE (4 * sizeof(__u8))
#define HDIO_DRIVE_HOB_HDR_SIZE (8 * sizeof(u8)) #define HDIO_DRIVE_HOB_HDR_SIZE (8 * sizeof(__u8))
#define HDIO_DRIVE_TASK_HDR_SIZE (8 * sizeof(u8)) #define HDIO_DRIVE_TASK_HDR_SIZE (8 * sizeof(__u8))
#define IDE_DRIVE_TASK_INVALID -1 #define IDE_DRIVE_TASK_INVALID -1
#define IDE_DRIVE_TASK_NO_DATA 0 #define IDE_DRIVE_TASK_NO_DATA 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment