History

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

Use __u8 rather than u8 in SIZE defines exported to userspace.

Mike Frysinger committed 19 years ago

Commit 436d1651 parent 34e9a631 file · +5 −3Browse files

Unified · Split

include/linux/hdreg.h+5−3
@@ -60,13 +60,15 @@ · 59 unmodified lines
60#define TAG_MASK 0xf860#define TAG_MASK 0xf8
61#endif /* __KERNEL__ */61#endif /* __KERNEL__ */
62 62
63#include <linux/types.h>
64
63/*65/*
64 * Command Header sizes for IOCTL commands66 * Command Header sizes for IOCTL commands
65 */67 */
66 68
67#define HDIO_DRIVE_CMD_HDR_SIZE (4 * sizeof(u8))69#define HDIO_DRIVE_CMD_HDR_SIZE (4 * sizeof(__u8))
68#define HDIO_DRIVE_HOB_HDR_SIZE (8 * sizeof(u8))70#define HDIO_DRIVE_HOB_HDR_SIZE (8 * sizeof(__u8))
69#define HDIO_DRIVE_TASK_HDR_SIZE (8 * sizeof(u8))71#define HDIO_DRIVE_TASK_HDR_SIZE (8 * sizeof(__u8))
70 72
71#define IDE_DRIVE_TASK_INVALID -173#define IDE_DRIVE_TASK_INVALID -1
72#define IDE_DRIVE_TASK_NO_DATA 074#define IDE_DRIVE_TASK_NO_DATA 0