1 Use __u8 rather than u8 in SIZE defines exported to userspace.
3 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
5 --- a/include/linux/hdreg.h
6 +++ b/include/linux/hdreg.h
9 #endif /* __KERNEL__ */
11 +#include <linux/types.h>
14 * Command Header sizes for IOCTL commands
17 -#define HDIO_DRIVE_CMD_HDR_SIZE (4 * sizeof(u8))
18 -#define HDIO_DRIVE_HOB_HDR_SIZE (8 * sizeof(u8))
19 -#define HDIO_DRIVE_TASK_HDR_SIZE (8 * sizeof(u8))
20 +#define HDIO_DRIVE_CMD_HDR_SIZE (4 * sizeof(__u8))
21 +#define HDIO_DRIVE_HOB_HDR_SIZE (8 * sizeof(__u8))
22 +#define HDIO_DRIVE_TASK_HDR_SIZE (8 * sizeof(__u8))
24 #define IDE_DRIVE_TASK_INVALID -1
25 #define IDE_DRIVE_TASK_NO_DATA 0